文章归档

L2TP IPSEC VPN UBUNTU 10.04 SERVER MAC/IPHONE CLIENTS

 

I had this idea for a while to make life a bit easier with the good old macbook. I also tested this on my Iphone and I can confirm that this will work as well.

this configuration was build on a 64bit Ubuntu 10.04 installation with one interface and no dhcp server.

This is what I did:

First start building strongswan with nat-traversal enabled, I recommend you create a directory to do this this in:

apt-get install build-essential fakeroot dpkg-dev devscripts
apt-get source strongswan
apt-get install libcurl4-openssl-dev -tools
apt-get build-dep strongswan
cd strongswan-4.2.4/
dch -i

Next add the –enable-nat-transport rule:

nano -w debian/rules

Change:

–disable-md5 –disable-sha1 –disable-sha2

To 阅读更多 »

Share
Page 1 of 11