To setup pptp vpn debian ipad
0. Get the software:
# apt-get install pptpd
1. edit /etc/pptpd.conf
localip 192.168.2.250
remoteip 192.168.2.240-245,192.168.2.245
And:
/etc/ppp/chap-secrets:
# client server secret IP addresses
vpnuser pptpd mypassword *
start the daemon./etc/init.d/pptpd start
2. Forward and NAT TCP.1723