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/04/05 08:15] – juckins | vpn_notes [2025/03/20 19:24] (current) – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Cisco Anyconnect | + | ==== VPN Notes ==== |
- | The 64 bit version does not work - connection gives error message. | + | __Using |
- | + | ||
- | To install the 32 bit on a 64 bit machine, you need to do the following: | + | |
- | + | ||
- | yum install libxml++.i686 atk.i686 gtk2.i686 | + | |
- | + | ||
- | Then when starting the vpn / | + | |
- | + | ||
- | An alternative is to use OpenVPN. | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | The older Cisco VPN client does not install. | + | |
- | + | ||
- | **Instead, use CentOS VPNC, OpenVPN and Network Manager to get VPN services.** | + | |
First enable EPEL repo using one of these links: | First enable EPEL repo using one of these links: | ||
Line 53: | Line 39: | ||
</ | </ | ||
- | Then yum install NetworkManager*. This command should | + | Then: |
+ | |||
+ | yum -y install NetworkManager* | ||
+ | yum -y install *vpn* | ||
+ | yum -y install openconnect* | ||
Then go to network manager or right-click the network icon in the task bar and add a new connection, VPN. | Then go to network manager or right-click the network icon in the task bar and add a new connection, VPN. | ||
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 69: | Line 104: | ||
* [[http:// | * [[http:// | ||
- | ---- | ||
- | |||
- | To connect to a Cisco AnyConnect VPN server, use the linux package " | ||
vpn_notes.1365164131.txt.gz · Last modified: 2013/04/05 08:15 by juckins