This is an old revision of the document!
Cisco Anyconnect VPN Client installs okay for 32 bit version on a 32 bit machine
The 64 bit version does not work - connection gives error message.
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 /opt/cisco/vpn/bin/vpnui you will still get some error messages going by but it works.
An alternative is to use OpenVPN.
The older Cisco VPN client does not install. It gives a failed to make module "cisco_ipsec.ko".
Instead, use CentOS VPNC, OpenVPN and Network Manager to get VPN services.
First enable EPEL repo using one of these links:
epel.repo goes into /etc/yum.repos.d/ - something similar to this:
[epel] name=Extra Packages for Enterprise Linux 6 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 [epel-debuginfo] name=Extra Packages for Enterprise Linux 6 - $basearch - Debug #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 gpgcheck=1 [epel-source] name=Extra Packages for Enterprise Linux 6 - $basearch - Source #baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 gpgcheck=1
Then yum install NetworkManager*. This command should install *vpnc* and *openvpn* but double-check to be sure.
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".
Old Notes that do not appear to be needed:
http://wiki.centos.org/HowTos/vpnc
- had to manually download http://pkgs.repoforge.org/vpnc/vpnc-0.5.3-1.el5.rf.i386.rpm since it's a RHEL5 package
- installs but will connect; firewall issue?
To connect to a Cisco AnyConnect VPN server, use the linux package "OpenConnect". The packages are part of the NetworkManager* group. Reboot the computer after installing the VPN packages and set up the connection entering the IP address for the Gateway.