VPN issue with A5 Jailbreak

kalex

macrumors 65816
Original poster
Oct 1, 2007
1,330
52
I have a small issue that I'm trying to figure out.

I jailbroke my 4s using greenpoison's JB. Problem is I'm having an issue connecting to my home vpn over sprint network. I had it test on other devices on sprint and both of them connect fine but my iphone is refusing to connect and my firewall doesn't even log the attempt.

Anybody having issues connecting to vpn networks after jailbreak? I even tried doing Network reset in settings but it didn't help

Thanks


Alex
 

kalex

macrumors 65816
Original poster
Oct 1, 2007
1,330
52
Any ideas or help is greatly appreciated. Still can't track it down and don't have non JB iphone to test
 

kalex

macrumors 65816
Original poster
Oct 1, 2007
1,330
52
Does anyone know where the logs for vpn connection reside on the iphone?

Found it: /root/var/log/ppp.log

Here is what the logs say:

PPTP connecting to server 'xx.xx.xx.xx' (xx.xx.xx.xx)...
Thu Jan 26 12:42:36 2012 : PPTP connection established.
Thu Jan 26 12:42:36 2012 : Using interface ppp0
Thu Jan 26 12:42:36 2012 : Connect: ppp0 <--> socket[34:17]
Thu Jan 26 12:42:56 2012 : PPTP received unexpected message type = 6699
Thu Jan 26 12:42:59 2012 : PPTP error when reading socket : EOF
Thu Jan 26 12:42:59 2012 : PPTP error when reading header : read -1, expected 12 bytes
Thu Jan 26 12:42:59 2012 : PPTP hangup
Thu Jan 26 12:42:59 2012 : Connection terminated.
Thu Jan 26 12:42:59 2012 : PPTP disconnecting...
Thu Jan 26 12:42:59 2012 : PPTP disconnected

I blacked out my external ip but my knowledge of VPN is not that good.
Here are logs from my firewall:

Jan 26 13:21:46 mpd: pptp0: killing connection with 66.87.117.152 46274
Jan 26 13:21:46 mpd: pptp0: no reply to StopCtrlConnRequest after 3 sec
Jan 26 13:21:43 mpd: pptp0: closing connection with 66.87.117.152 46274
Jan 26 13:21:43 mpd: [pt0] LCP: state change Closed --> Initial
Jan 26 13:21:43 mpd: [pt0] LCP: Down event
Jan 26 13:21:43 mpd: [pt0] LCP: state change Stopped --> Closed
Jan 26 13:21:43 mpd: [pt0] LCP: Close event
Jan 26 13:21:43 mpd: [pt0] link: DOWN event
Jan 26 13:21:43 mpd: [pt0] PPTP call terminated
Jan 26 13:21:43 mpd: pptp0-0: killing channel
Jan 26 13:21:43 mpd: pptp0-0: clearing call
Jan 26 13:21:43 mpd: [pt0] LCP: LayerFinish
Jan 26 13:21:43 mpd: [pt0] LCP: state change Ack-Sent --> Stopped
Jan 26 13:21:43 mpd: [pt0] LCP: parameter negotiation failed
Jan 26 13:21:42 mpd: ACFCOMP
Jan 26 13:21:42 mpd: PROTOCOMP
Jan 26 13:21:42 mpd: MAGICNUM 66009db9
Jan 26 13:21:42 mpd: ACCMAP 0x00000000
Jan 26 13:21:42 mpd: [pt0] LCP: SendConfigAck #1


Any thoughts?
 
Last edited:

kalex

macrumors 65816
Original poster
Oct 1, 2007
1,330
52
Good question :)

didn't try it without jailbreak. I did however use it without issues on my ipad2 which was jailbroken on 4.3.3 but I haven't used it in few months.

I asked few of my friends to try it and nobody has issues connecting to it so at this time I'm suspecting its sprint issue in my area but I will test it out today when I'll connect from another wifi connection and see if it works that way
 

seanwebb68

macrumors 6502
Jul 27, 2010
498
3
What setting are you using "L2TP", "PPTP", or "IPSec"?

I'm Guess "PPTP" if so have you tried disabling encryption to see if it works?

My VPN works fine on my jailbroken iPhone 4s but i use "IPSec"
 

kalex

macrumors 65816
Original poster
Oct 1, 2007
1,330
52
What setting are you using "L2TP", "PPTP", or "IPSec"?

I'm Guess "PPTP" if so have you tried disabling encryption to see if it works?

My VPN works fine on my jailbroken iPhone 4s but i use "IPSec"
Yep PPTP. My firewall doesn't support IPSec. I tried disabling encryption and get same error. I have a feeling that its sprint's fault. I tried using WIFI connection and was able to connect to my vpn without issues