PPTP server fix for iOS problems (pptpd/PopTop)
Ever since I was offered an iPod touch 4th gen I have been unsuccessful in my attempts to connect to PPTP based VPN servers from iOS. Apparently this is a well known issue since iOS 4.3.3 or earlier, that did not get fixed in the iOS 5 update.
Having set up my own PPTP-based VPN servers using Poptop (also known as pptpd) under CentOS, I always found it strange that my servers would function perfectly fine under all versions of Windows, but completely refuse to work under iOS and reportedly MacOS X as well.
Symptoms were the following:
Here's what got it to work for me. You need to open up the options file for pptpd usually located here: /etc/ppp/options.pptpd
At the very bottom of the file, insert the following lines:
Having set up my own PPTP-based VPN servers using Poptop (also known as pptpd) under CentOS, I always found it strange that my servers would function perfectly fine under all versions of Windows, but completely refuse to work under iOS and reportedly MacOS X as well.
Symptoms were the following:
- Initially, the connection to the server starts ("Connecting... Starting... Authenticating... ") and appears successful for a second but then immediately drops, with a vague error message.
- After a few tweaks that I read on DD-WRT's PPTP server configuration page (pertinent given that DD-WRT uses poptop as well) the situation changed but still failed to solve all of my problems: I was able to connect normally, without any error message, however any network communication failed and timed out. Whenever I tried loading a page it would just keep loading forever. Any app that connects to the Internet did the same- loading forever.
Here's what got it to work for me. You need to open up the options file for pptpd usually located here: /etc/ppp/options.pptpd
At the very bottom of the file, insert the following lines:
nopcompAfter saving the file, make sure to restart pptpd properly (I stopped it and started it again completely) and try connecting from iOS again. Worked for me! Hope it will for you as well.
noaccomp
mtu 1400
mru 1400
default-asyncmap
Comments
is it working with iOS 5, i tried your solution and the page u referred to but somehow its not working for me. It randomly disconnect.
tq
I can confirm that this solution works for iOS 5 clients.
WRT54GL v1.1 running dd-wrt build 14929 vpn
You probably have the first 2 rules, or you couldn't get a pptp connection.
The 3rd allows connections from one side of the connection to the other (FORWARDing the ppp connection through the firewall (your pptp server) to either the internal or external connection (you can limit where it is allowed by using -o where device is your wan or lan device (eth0 maybe? Sometimes vlan0). As is, PPP is allowed anywhere, external or internal..
The 4th allows connections to the firewall itself from the PPP connected client. (May not be necessary, but it may be if it is doing DNS, etc)
# for PPTP...allow GRE, port 1723, and forward ppp traffic, and allow in from ppp
iptables -I INPUT -p gre -j ACCEPT
iptables -I INPUT -p tcp --dport 1723 -j ACCEPT
iptables -A FORWARD -j ACCEPT -i ppp+
iptables -A INPUT -j ACCEPT -i ppp+
vpn iphone
----
facebook movil and facebook movil gratis and apply facebook iniciar sesion celular
top10-bestvpn.com