Install PoPToP Point to Point Tunneling Server:
1 |
sudo apt-get install pptpd |
Edit /etc/pptpd.conf file:
1 |
sudo joe /etc/pptpd.conf |
Uncomment the following lines (replace IP range if you like)
1 2 |
localip 192.168.0.1 remoteip 192.168.1.1-255 |
Save and exit.
Edit /etc/ppp/pptpd-options file
1 |
sudo joe /etc/ppp/pptpd-options |
Make sure you have this:
1 2 3 4 5 6 7 8 9 10 11 12 |
refuse-pap refuse-chap refuse-mschap require-mschap-v2 require-mppe-128 proxyarp nodefaultroute lock nobsdcomp noipx ## you don't need IPX mtu 1490 ## may help your linux client from disconnecting mru 1490 ## may help your linux client from disconnecting |
Save and exit.
Next step is to add users who can use this connection.
1 |
sudo joe /etc/ppp/chap-secrets |
The file […] Continue Reading…