Wednesday, January 21, 2009

connect office networks with vpn on linux

-install licensed cisco vpn client on windows os to check if it works fine.
-copy the *.pcf file which is the configuration file.
-on your linux install vpnc
-run following to get the value for [decrypted enc_GroupPwd]
cisco-decrypt [value of enc_GroupPwd from the *.pfc]
-now edit /etc/vpnc/default.conf with values from pfc file
IPSec gateway [Host]
IPSec ID [GroupName]
IPSec secret [decrypted enc_GroupPwd]
Xauth username [your username for vpn connection]
-now run "sudo vpnc", it would ask for password key and once set runs as a background process
-to disconnect type "vpnc-disconnect"

No comments: