Posted: Tue Mar 01, 2011 5:51 Post subject: Issue with PPTP VPN Server / iPhone Client
Hello,
I have a wrt54gl that I loaded the vpn firmware build 13064 on. I have the dsl modem plugged into the wan port and have configured pppoe and dyndns. I have enabled the pptp server, set the server ip = 192.168.1.1, configured the ip/pass etc.
From my iphone I configured a new pptp connection. The problem I am having is it doesn't consistantly work. 1 out of every 20 connections will work and the VPN works beautifully. Then, if I disconnect and try to reconnect it fails. Sometimes it fails 50 times before it works again, sometimes only 2 or 3.
Can anyone think why my configuration works but not consitantly?
Start by reading the Broadcom forum announcements. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Thanks for the reply. Per the stickies in the broadcom forums I updated the recommended build of 14929 dated 8/12/10 following the instructions in the wiki/broadcom forum stickies. The problem still remains. After I upgraded to 14929 the iPhone connected after 4 or 5 tries. While it was connected everything worked fine. Now when I try to re-connect using the same settings on the router and the iPhone it won't reconnect.
Any suggestions? I'm almost positive it's something to do with the settings in /tmp/pptpd/options.pptpd but I'm not sure what values to set. I've tried each value I've found in various posts by searching the forums such as require-mppe-128, no40, no56 etc.
Does anyone have any suggestions? I'm really at a loss here. I've tried every suggestion I have found in the forums and spent at least 40 hours trying to resolve this problem on my own.
Just as a note, my iphone4 worked perfectly running iOS 4.2.1. Right after I upgraded to iOS 4.3 I started seeing this issue where my phone would connect to my dd-wrt router 1 out of 20 times. It's very frustrating. There are numerous post over at the apple discussion board (here, here and here) that talk about it. Another interesting this is connecting to a Cisco Pix 501 using pptp works everytime from my iphone running iOS 4.3. I'm really not sure why it randomly works with dd-wrt but always works on the pix 501. I do know that after iOS 4.3 the dd-wrt pptp vpn connection started not working. From what I have read its "iOS 4.3 doesn't wait for LCP to actually proceed to the "open" state".
Just as a note, my iphone4 worked perfectly running iOS 4.2.1. Right after I upgraded to iOS 4.3 I started seeing this issue where my phone would connect to my dd-wrt router 1 out of 20 times. It's very frustrating. There are numerous post over at the apple discussion board (here, here and here) that talk about it. Another interesting this is connecting to a Cisco Pix 501 using pptp works everytime from my iphone running iOS 4.3. I'm really not sure why it randomly works with dd-wrt but always works on the pix 501. I do know that after iOS 4.3 the dd-wrt pptp vpn connection started not working. From what I have read its "iOS 4.3 doesn't wait for LCP to actually proceed to the "open" state".
Interesting; however, I remember always having this issue, regardless of IOS release. I use the Cisco IPSec VPN connection w/o issue.
I upgraded to 4.3.1 today and still the same result.
I have an official bug opened via Apple's bug reporter. The number is 9070114. If you are having the same problem I suggest you open a bug with apple and reference my bug. bugreport.apple.com The more bugs that are open the more attention Apple will give this.
John mentioned LCP. Do you all think modifying these settings could help?
cp-echo-failure 10
lcp-echo-interval 5
When I had my iphone connected to my computer the console in iphoen configuration utility showed the following which also suggests an lcp problem.
Mar 25 19:10:30 iPhone pppd[168] <Warning>: LCP: timeout sending Config-Requests
FWIW I'm having the same problems on an iPad 2 with IOS 4.3.1 (see post http://www.dd-wrt.com/phpBB2/viewtopic.php?p=550569#550569). iPhone 3GS with IOS 4.3.1 works fine with same settings/login, though sporadically and I have zero problems VPN'ing in with my Mac laptop using the same settings/login.
I seem to recall that I could consistently log in with my iPhone on and older IOS version but it's been 6+ months.