sudo apt-get install vpnc
This installs the open source vpn client. The installation creates a folder in /etc called vpnc. In this folder is a sample connection file. Then:
- As su, copy this file to another and name appropriately. Edit this file, remove the appropriate comments (#) and fill in the correct information.
- In your home folder, create a vpn-up file and enter the following
sudo vpnc-connect --local-port 0 /etc/vpnc/.conf - Change the attributes of this file to allow execution (chmod 770 vpn-up)
- In your home folder, create a vpn-down file and enter the following
sudo vpnc-disconnect - Change the attributes of this file to allow execution (chmod 770 vpn-down)