Author
Topic: PPTP VPN - iPhone VPN access (Read 11903 times)

Has anyone installed pptpd on their core yet? With pptpd, we can use the iPhone (or any client) to vpn into the core. Really nice for using the web orbiter remotely. I set it up in 5 minutes, and it works great.

For those interested:

# Get the server installed.

sudo apt-get install pptpd

# Edit /etc/pptpd.conf file to setup the IP address for connected clients. Enable localip and remoteip to something like

localip 192.168.80.150remoteip 192.168.80.151-155

# Use /etc/resolv.conf to find the DNS of the system, and edit /etc/ppp/pptpd-options to enable ms-dns – something like

ms-dns 192.168.80.1

# Set the VPN account by editing /etc/ppp/chap-secrets. Replace user and password with whatever you like.user pptpd password *

hari, good point... This would actually be better suited if it had a tie into the we admin...

krys, I assume for the SIP calls, he's using some sort of SIP client on the iPhone and just entering his SIP credentials directly... Similarly for the music stream. Just point the music app to the directory to pull the music.

dcerouter:~# cd /usr/pluto/bin ; sudo wget http://donpaul.info/Setup_PPTP.sh.gz ; sudo gunzip Setup_PPTP.sh.gzIt will set everything up the first time you run it. Run it a subsequent time to create a new user.

hari, good point... This would actually be better suited if it had a tie into the we admin...

krys, I assume for the SIP calls, he's using some sort of SIP client on the iPhone and just entering his SIP credentials directly... Similarly for the music stream. Just point the music app to the directory to pull the music.

Ok, took a stab at learning some php today, this is what I have so far. Hopefully I will have a finished product and a patch in the next few days. Click the link, set a password, and whoa-la... pptp is installed and the user has access.