vpn_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vpn_notes [2014/07/31 20:45] – 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 54: | Line 56: | ||
The ntpd service may not be able to connect to time servers; remember to update / | 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 / | ||
+ | </ | ||
---- | ---- |
vpn_notes.1406853917.txt.gz · Last modified: 2014/07/31 20:45 by juckins