sudo apt-get update
sudo apt-get build-dep vpnc
sudo apt-get install libssl-dev fakeroot
mkdir ~/src/vpnc -p
cd ~/src/vpnc
apt-get source vpnc
cd vpnc-*
Edit the Makefile and uncomment 2 lines that have "OPENSSL" in the beginning of the line
dpkg-buildpackage
sudo dpkg -i ../vpnc*.deb
Edit /etc/vpnc/default.conf
IPSec gateway 10.10.10.10
IPSec ID GROUPNAME
IPSec secret ########
IKE Authmode psk
Xauth username johndoe
Xauth password ########
Type "sudo vpnc"
To add foo.com to search path:
sudo echo "foo.com" >> /etc/resolvconf/head
Wednesday, September 24, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment