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
9 comments:
Great solution, it worked perfectly with mine. Thanks
Glad I could help. This had been torturing for a year or so.
hi,
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
Yes it's working fine for me with the latest iOS. Have you tried connecting from another internet link (at work, at a friend's, in a public place, etc.) might be your connection?
Thank you so much!
I can confirm that this solution works for iOS 5 clients.
WRT54GL v1.1 running dd-wrt build 14929 vpn
Nice post.The importance of a technical translation being accurate and efficient can indeed not be overstated. Especially in the ever faster moving world of globalized business, successful information and technology transfer within multinational businesses can make the difference between win or lose.
Thank you so much. I was getting iOS 6.1.3 to work only after fresh boot. Now it works every time.
Thank you!!!
Very informative article, thanks for sharing.
Post a Comment