About Me

My photo
Working as Technical Lead in CollabNET software private limited.

Tuesday 4 March, 2008

VPN configuration in Ubuntu

Recently I've configured the VPN for first time and here are
some commands related to it.

Install VPNC
sudo apt-get install vpnc
cd /etc/vpnc/
sudo ls /etc/vpnc

Configure VPNC

sudo vim /etc/vpnc/example.conf
sudo mv /etc/vpnc/example.conf /etc/vpnc/default.conf
sudo vpnc
sudo vim /etc/vpnc/default.conf

To start VPNC

sudo vpnc

To Disconnect VPNC

sudo vpnc-disconnect
ps ax|grep network

Restart Network
sudo /etc/init.d/networking restart
ping yahoo.com

No comments: