Changes

Jump to navigation Jump to search
2,274 bytes added ,  3 years ago
Line 530: Line 530:  
== WireGuard ==
 
== WireGuard ==
 
WireGuard can be downloaded from https://www.wireguard.com/<ref>WireGuard Offical Site [https://www.wireguard.com/]</ref>
 
WireGuard can be downloaded from https://www.wireguard.com/<ref>WireGuard Offical Site [https://www.wireguard.com/]</ref>
 +
 +
== VPNC ==
 +
 +
vpnc is an open-source VPN client that is compatible with Cisco VPN setups. VPNC is much easier to configure than the Cisco client and works on almost every flavor of UNIX systems including Linux, Macs and BSD, as well as Ubuntu.
 +
 +
This is handy if you have a VPN server or IOS router setup and wish to use it.  w9cr.net runs this as a means to get public IP's directly on nodes, bypassing NAT444 and man-in-the-middle IAX level filtering.
 +
 +
=== install ===
 +
* sudo apt-get install vpnc
 +
 +
=== config ===
 +
 +
Create a configuration file for the RPI Wireless and/or RPI External profile. Usually these files would be stored in /etc/vpnc/profile_name.conf.  The default /etc/vpnc/default.conf. 
 +
 +
An example config for the W9CR.net vpn server:
 +
 +
'''w9cr example config'''
 +
IPSec gateway cisco.keekles.org
 +
IPSec id AMPRNET
 +
IPSec secret EzAsARDC
 +
Xauth username YOUR-CALLSIGN
 +
Xauth password _YOUR_PASSWORD_HERE_
 +
 +
=== running it ===
 +
 +
To connect to the VPN you would run one of the following commands as root or using sudo:
 +
 +
* sudo vpnc -- This command would run VPNC using /etc/vpnc/default.conf, if it exists. If it does not, it would prompt for the connection information
 +
* sudo vpnc external -- This would run VPNC using /etc/vpnc/external.conf, if it exists.
 +
 +
==== Starting it at boot ====
 +
 +
IF you're behind NAT, you want to start this at boot.
 +
 +
The simplest way is to call it from /etc/rc.local, but that's a bit in-elegant.
 +
 +
make the following file at  /usr/lib/systemd/system/vpnc@.service
 +
 +
[Unit]                                                                                                                                                                       
 +
Description=VPNC connection to %i
 +
Wants=network-online.target
 +
After=network.target network-online.target
 +
 +
[Service]
 +
Type=forking
 +
ExecStart=/usr/bin/vpnc --pid-file=/run/vpnc@%i.pid /etc/vpnc/%i.conf
 +
PIDFile=/run/vpnc@%i.pid
 +
 +
[Install]
 +
WantedBy=multi-user.target
 +
 +
So, in order to have your VPN autostart from the configuration file /etc/vpnc/w9cr.conf, you'd do:
 +
 +
systemctl enable vpnc@w9cr
 +
systemctl start vpnc@w9cr
 +
 +
 +
=== More info ===
 +
If you want a vpn connection via w9cr.net using 44net public IP space, please contact bryan@bryanfields.net.  Include your callsign and details.
 +
    
== Other ==
 
== Other ==

Navigation menu