vpn_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vpn_notes [2013/09/25 16:35] – juckins | vpn_notes [2025/03/20 19:24] (current) – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== VPN Notes ==== | ||
+ | |||
__Using CentOS VPNC, OpenVPN and Network Manager to get VPN services__ | __Using CentOS VPNC, OpenVPN and Network Manager to get VPN services__ | ||
Line 46: | Line 48: | ||
Enter all the appropriate settings as given by work and then __reboot the machine__ otherwise your configuration will not save and you will get an error "no valid VPN secrets" | Enter all the appropriate settings as given by work and then __reboot the machine__ otherwise your configuration will not save and you will get an error "no valid VPN secrets" | ||
+ | |||
+ | ---- | ||
+ | |||
+ | To connect to a Cisco AnyConnect VPN server, use openconnect as listed above. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | The ntpd service may not be able to connect to time servers; remember to update / | ||
+ | |||
+ | ---- | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Notes from Scalio: | ||
+ | |||
+ | * Install the vpnc rpm and any dependencies, | ||
+ | * As root, use visudo to add the following entries to the sudoers file without the surrounding "<>": | ||
+ | |||
+ | <your user name> | ||
+ | <your user name> | ||
+ | |||
+ | * As root, create a vpn configuration file (I called mine myvpn.conf) in /etc/vpnc containing the following: | ||
+ | |||
+ | IPSec gateway XXX.XXX.XXX.XXX | ||
+ | IPSec ID XXX | ||
+ | IPSec secret XXXXXXXXX | ||
+ | Xauth username <your user name> | ||
+ | Xauth password <your password> | ||
+ | |||
+ | * Change file permissions on your vpnc configuration file to 600. | ||
+ | * Copy the two attached files to some place in your path. I put them in ~/ | ||
+ | * Use the scripts to start/stop VPN sessions. | ||
+ | |||
+ | < | ||
+ | #!/bin/bash | ||
+ | # start_vpnc.bash | ||
+ | sudo / | ||
+ | |||
+ | |||
+ | #!/bin/bash | ||
+ | # stop_vpnc.bash | ||
+ | sudo / | ||
+ | </ | ||
---- | ---- | ||
Line 57: | Line 104: | ||
* [[http:// | * [[http:// | ||
- | ---- | ||
- | |||
- | To connect to a Cisco AnyConnect VPN server, use openconnect as listed above. | ||
vpn_notes.1380141355.txt.gz · Last modified: 2013/09/25 16:35 by juckins