If you want to connect to your corporations VPN and they have given you a PCF file, which is usually used to connect using Cisco’s VPN client, you can convert it for use on Linux without needing to install the Cisco client.
I use “vpnc” I followed the following steps in order to convert the PCF files I was given into conf files which can be used with vpnc.
yum install vpnc yum install libgpg-error-devel yum install libgcrypt-devel yum install gcc wget http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc wget http://www.unix-ag.uni-kl.de/~massar/soft/cisco-decrypt.c chmod u+x pcf2vpnc gcc -Wall -o cisco-decrypt cisco-decrypt.c $(libgcrypt-config --libs --cflags) mv cisco-decrypt /usr/local/bin mv pcf2vpnc /usr/local/bin/
Once you have completed these steps, move to the directory where you have downloaded your PCF file and execute the following.
pcf2vpnc mycompany.pcf > mycompany.conf
Then copy the new conf file into /etc/vpnc/ and remember what you called it.
It’s likely you will need to open the conf file and change your username which will be a line beginning with Xauth username.
When you are ready you can run the following to launch the VPN connection
vpnc --dpd-idle 0 mycompany
Note the network to connect to is denoted by the name of the conf file. The –dpd-idle 0 directive ensures that the client doesn’t auto disconnect after x minutes of inactivity (which it seems to incorrectly detect). When you are finished run the following to disconnect.