I used pptpd. Nietzsche is running Xubuntu Hardy Heron.
Install
sudo apt-get install pptpdAdd Users
sudo vim /etc/ppp/chap-secretsThe format is:username pptpd passwordEdit pptpd.conf
Add lines similar to thesesudo vim /etc/pptpd.conf
localip 192.168.1.72
remoteip 192.168.1.200-253localip is the IP for the VPN server. remoteip are the IPs that will be given to the VPN clients. I'm using unused IPs.Edit pptpd-options
sudo vim /etc/ppp/pptpd-options uncomment #ms-dns 10.0.0.1. Change 10.0.0.1 to your DNS server or routerEdit sysctl
sudo vim /etc/sysctl.confAdd the following linesnet.ipv4.conf.default.forwarding=1
net.ipv4.conf.all.forwarding=1Restart
sudo /etc/init.d/pptpd restartYour server should be up and running.

0 comments:
Post a Comment