Sunday, November 17, 2013

Installing vpnc - Linux VPN Client for Cisco VPN

This tutorial, I will show you how to configure vpnc on Linux and  connect  Cisco devices through vpn using pcf file. The vpnc is an alternative Linux software for Cisco vpn client.
all the things are done on centos 6.3 but steps should be same for any Linux system.

1) Installing EPEL repo

Since centos repo doesn't contain the vpnc, we need to configure additional repo call EPEL.
It is straightforward installation and  document can be found form here.

Please find "How can I install the packages from the EPEL software repository? " from content and install it. you may need to enable EPEL repo sometime.

2) Installing vpnc

once you enabled the rpmforge repo, type following command to install vpnc  
[root@localhost ~]#yum install vpnc

3)Chang folder permission

I installed the vpnc as root.if you wish to run vpnc as normal user other than root .change file permission of vpnc installaion directory

4)Download pcf2vpnc

[root@localhost ~]#wget

5)Convert pcf file

[root@localhost ~]#perl pcf2vpnc demopcf.pcf demovpnc.conf
change ownership of *.conf file if you need

6)copy *.conf to /etc/vpnc/ 

[root@localhost ~]#cp demovpnc.conf /etc/vpnc/

7)Start vpnc

[root@localhost ~]#vpnc demovpnc
Enter password for user@A.B.C.D:
(A.B.C.D is public ip address where you need to connect, user is username , you need to enter password )

8)disconnect vpnc

[root@localhost ~]#vpnc-disconnect


  1. A very handy tutorial it is indeed and I'm pleased to learn about it!! I was in the complication to setup Linux VPN client for Cisco VPN and than such tutorial helped me to ease my complication significantly. Thanks a lot.

  2. I like to read your articles. It is interesting and has many followers and is very useful.
    Thanks for a great article. And I hope to read it again. A very useful tutorial, it is indeed, and I am willing to learn about it.

  3. Thank you for the good and very helpful information. It is very interesting. I love all the things you share and see your beautiful creation.

  4. Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment. VPNShazam is offering dedicated ip vpn at the best prices.

  5. Very well written article. It was awesome article to read. Complete rich content and fully informative. If anyone looking for the Cheap VPN Subscription Plans in Canada, ipgurlvpn is the best choice.


Related Posts