Go Back   MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 11, 2007, 01:00 AM   #1
d012004
macrumors newbie
 
Join Date: Jul 2007
Help me setup IPhone VPN

Hi,

I am a Apple fan, bought my iphone on first day iteslf. I had so much expectation about Iphone. Now I am little disappointed that I am not able to connect to my corporate network/outlook using iphone. My company doesn't support IMAP. Other option is connecting thru VPN to my coroprate network. In our company we use Nortel Contivity VPN client(username/password(RSA)) for connecting our corporate network. I tried to configure VPN with PPTP protocal, but I am not able to connect to corporate network. Iphone shows " connecting ..." for very long time and it shows some message(not able to find out what error message is being displayed since it vanishes immediately). My undertstanding is that Nortel VPN client is unversally used, many existing nortel VPN client users would have experienced this issue.Any help on this greatly appreciated
d012004 is offline   0 Reply With Quote
Old Jul 19, 2007, 06:12 PM   #2
Danrodgers
macrumors newbie
 
Join Date: Jul 2007
sympathize

I have the same problem (see "VPN won't connect" 7/12/07) and Apple support can't help. I've also had 3 IT people from work mess around with it. I'm left to believe it will require a patch in a future OS upgrade. Let's hope Apple is listening.
Danrodgers is offline   0 Reply With Quote
Old Jul 4, 2008, 06:46 AM   #3
Starnamer
macrumors newbie
 
Join Date: Jul 2008
Was a solution found?

Has anyone managed to get this to work? I have the same problem.
Starnamer is offline   0 Reply With Quote
Old Jul 14, 2008, 10:29 PM   #4
Trebz
macrumors member
 
Join Date: Mar 2006
Same issue here...

I have dd-wrt vpn set up on my Linksys router. I am using dynDNS.org to map back to the router.

I can connect my XP laptop without any issues. I enter the exact same setting onto the iPhone, and it goes:

"Connecting...
Starting...
Disconnecting...

Could not negotiate a connection with the remote PPP server. Please verify your settings and try again."

Any thoughts?
Trebz is offline   0 Reply With Quote
Old Jul 17, 2008, 03:34 PM   #5
iphoner2
macrumors newbie
 
Join Date: Jul 2008
RE: Help me setup IPhone VPN

I'm totally loving the new iPhone 3g. I waited to get the second generation b/c of the lack of corporate network connectivity. However, after reading extensively about how this was an "Enterprise" phone I was very disappointed to learn about the VPN client shortcomings.

To those wondering why you can't connect to your corporate network I found out that the iPhone is bundled with the Cisco VPN client which is incompatible with Nortel Networks VPN. I would have hoped that Apple had the foresight to create either a generic VPN client capable of multiple network configurations or multiple VPN clients to choose from. Nortel Networks isn't exactly a small 'winky-dinky' company that no one uses. I would hope Apple could come out with an software upgrade that utilizes both types. Otherwise the term, "Enterprise" enabled become extremely limiting in definition. Well, at least for Apple! Also, I don't know if someone else has found out how, but I also don't see a way for me to access my corporate contact directory. As much as I hated Blackberry's and the Blackjack I & II, they were more "Enterprise" enabled. All said and done, I still love this phone!!!
iphoner2 is offline   0 Reply With Quote
Old Jul 18, 2008, 12:20 AM   #6
KDuncan
macrumors newbie
 
Join Date: Feb 2008
Both my iphones (original and 3g) connect my work with pptp vpn. Works fine with no issues. Im the IT guy at work, so i just setup a user and password on the router pptp vpn settings, entered the same settings on my iphones, and they both connected immediately. I also run vnc over the vpn from both phones.

I havnt tried to setup an IPSEC vpn on it yet. Might try to do that tomorrow if I get a free minute.
KDuncan is offline   0 Reply With Quote
Old Jul 18, 2008, 05:40 PM   #7
Trebz
macrumors member
 
Join Date: Mar 2006
So I gave this another shot and here is what I found.

If I leave the encryption settings to "Auto" or "Maximum" it does not work. If I switch it to "None" I can connect.

However, doesn't setting it to none defeat the purpose? Or does the encryption level refer to encrypting the traffic inside of the tunnel (which would already be encrypted)?
Trebz is offline   0 Reply With Quote
Old Oct 11, 2008, 04:16 PM   #8
schalliol
macrumors regular
 
Join Date: May 2002
Location: Carmel, IN
Send a message via AIM to schalliol
Any resolution here? I set up PPTP on DD-WRT and when I try to connect on my iPhone 3G, I get the message "the connection was terminated by the communications device. Please verify your settings and try again."
schalliol is offline   0 Reply With Quote
Old Oct 22, 2008, 12:41 AM   #9
sjdigital
macrumors regular
 
Join Date: Oct 2008
Location: The Caucasus
I can confirm Trebz's findings, i.e. that setting Encryption to "None", enables the VPN connection to a Linksys router with dd-wrt.
sjdigital is offline   0 Reply With Quote
Old Jan 9, 2009, 09:30 AM   #10
jwhs75
macrumors newbie
 
Join Date: Jan 2009
Help!!

Quote:
Originally Posted by sjdigital View Post
I can confirm Trebz's findings, i.e. that setting Encryption to "None", enables the VPN connection to a Linksys router with dd-wrt.

It does not work to connect to Nortel VPN.... if anyone knows another application please tell me!
jwhs75 is offline   0 Reply With Quote
Old Jan 13, 2009, 06:13 PM   #11
cb311
macrumors newbie
 
Join Date: Feb 2008
Quote:
Originally Posted by jwhs75 View Post
It does not work to connect to Nortel VPN.... if anyone knows another application please tell me!
by default, for some unknown reason, the encryption is turned off for PPTP in the dd-wrt software. To enable encryption, log into the routers web interface and:

1. Goto Administration > Commands
2. Enter "sed -i -e 's/mppe .*/mppe required,stateless/' /tmp/pptpd/options.pptpd"
3. Save Startup
4. NOTE: This will force all PPTP clients to use encryption
5. Save


Wrapping everything up..

1. Goto Administration
2. Reboot Router

this is taken from the PPTP wiki at:
http://www.dd-wrt.com/wiki/index.php...ith_two_DD-WRT

This is what I followed to setup PPTP on my iPodtouch to access my home network using ddwrt 24sp1 on a linksys router.
cb311 is offline   0 Reply With Quote
Old Jan 14, 2009, 05:49 AM   #12
sdsvtdriver
macrumors 6502a
 
Join Date: Jul 2008
Location: Southern California
The IPSec Cisco VPN client on the iPhone is not compatible with the Nortel Contivity VPN server. You have to connect via PPTP, assuming your VPN administrator has enabled this protocol.
sdsvtdriver is offline   0 Reply With Quote
Old Jan 17, 2009, 11:41 PM   #13
Trebz
macrumors member
 
Join Date: Mar 2006
Working!

Thanks CB311. Nice to finally have this working.
Trebz is offline   0 Reply With Quote
Old Mar 31, 2010, 01:15 PM   #14
Gyro Dragona
macrumors newbie
 
Join Date: Aug 2007
I have been trying to get this working for months and can not find a current solution that works. Trying to get this working with my iPod Touch.

I have been able to get it to connect with encryption turned off on the iPod but after trying this tip it seams to completely break the VPN server to where I can no longer even connect without encryption once removing the change.

Router: Linksys WRT350N
Version: DD-WRT v24-sp2 (05/08/09) std-nokaid-usb - build 12060M NEWD Eko

Last edited by Gyro Dragona; Apr 6, 2010 at 03:42 AM.
Gyro Dragona is offline   0 Reply With Quote
Old Mar 31, 2010, 03:24 PM   #15
Chris.L
macrumors 6502a
 
Chris.L's Avatar
 
Join Date: Jan 2009
Location: UK
Quote:
Originally Posted by Gyro Dragona View Post
... completely break the VPN server to where I can no longer even connect without encryption.

Router: Linksys WRT350N
Version: DD-WRT v24-sp2 (05/08/09) std-nokaid-usb - build 12060M NEWD Eko
That's the point, as per step 4...
__________________
New to forums?
Chris.L is offline   0 Reply With Quote
Old Mar 31, 2010, 04:52 PM   #16
schalliol
macrumors regular
 
Join Date: May 2002
Location: Carmel, IN
Send a message via AIM to schalliol
Quote:
Originally Posted by Chris.L View Post
That's the point, as per step 4...

Yeah, can only connect without encryption, though I would love to find a way to do it with encryption.
schalliol is offline   0 Reply With Quote
Old Apr 5, 2010, 06:34 PM   #17
Gyro Dragona
macrumors newbie
 
Join Date: Aug 2007
Quote:
Originally Posted by Chris.L View Post
That's the point, as per step 4...
That is including once I remove the change from the startup, saving, and then restarting... Any useful information for making it work would by much more appreciated.
Gyro Dragona is offline   0 Reply With Quote
Old Apr 8, 2010, 06:07 AM   #18
Gyro Dragona
macrumors newbie
 
Join Date: Aug 2007
Well, I have gotten to get the VPN server working but I need to change the port used for it to something that can get through the network at the college so I can access my machines at home. So far I have had little luck with doing so.
Gyro Dragona is offline   0 Reply With Quote
Old Apr 8, 2010, 12:20 PM   #19
thep33t
macrumors regular
 
Join Date: Jun 2009
Quote:
Originally Posted by Gyro Dragona View Post
Well, I have gotten to get the VPN server working but I need to change the port used for it to something that can get through the network at the college so I can access my machines at home. So far I have had little luck with doing so.
quick clarification, are you trying to access your home computer (outside college network), form inside the college network. Or trying to access home (inside college network), from outside college network?
thep33t is offline   0 Reply With Quote
Old Apr 10, 2010, 03:30 AM   #20
Gyro Dragona
macrumors newbie
 
Join Date: Aug 2007
Quote:
Originally Posted by thep33t View Post
quick clarification, are you trying to access your home computer (outside college network), form inside the college network. Or trying to access home (inside college network), from outside college network?
Okay, so far I have been able to get it up and running. I can even access my VPN from outside my network (from a friends house using port 1723). The only thing I need now is to get the ports forwarded. As far as I can tell so far the only open ports from inside the college network to the internet are ports 80 (HTTP) and 443 (HTTPS).

While I am on the college network I am trying to tunnel to my home network to encrypt my data. They block POP3 and IMAP access, i need this to get my mail on my iPod touch.

I have tried forwarding port 443, it does not work. But I expected that since it is a known thing with DD-WRT that it will not forward ports 80 and 443... Is there a way to force those ports forwarded anyway?

I plan on posting a comprehensive guide once I get it all working. I have yet to have found a current guide to get it all working in one location.
Gyro Dragona is offline   0 Reply With Quote
Old Apr 13, 2010, 03:39 PM   #21
Gyro Dragona
macrumors newbie
 
Join Date: Aug 2007
Er, so does anybody here know how to force port 443 to forward? It takes more then changing it through the NAT to make it work since DD-WRT uses it, it doesn't forward it properly if done through the interface.

I need it to be going like this:

WAN > 192.168.1.1 on internal LAN

Edit: It looks like I might have it all figured out, I will be testing it today from the college. Hopefully it works. If so I will report it back here.

Last edited by Gyro Dragona; Apr 14, 2010 at 02:26 PM.
Gyro Dragona is offline   0 Reply With Quote
Old Apr 15, 2010, 03:29 PM   #22
Gyro Dragona
macrumors newbie
 
Join Date: Aug 2007
Well, I have figured out how to forward port 443 to internal machines (tested working from a friends house) but I have been unable to get it to work with forwarding it to the VPN. I am not sure why that is. But if anybody would like to help me figure it out it would really help. This is the Firewall Script used:

Code:
iptables -t nat -I PREROUTING -p tcp -d $(nvram get wan_ipaddr) --dport 443 -j DNAT --to 192.168.1.1:1723
iptables -I FORWARD -p tcp -d 192.168.1.1 --dport 443 -j ACCEPT
Where "192.168.1.1" is the target machine.
Gyro Dragona is offline   0 Reply With Quote
Old Jan 4, 2012, 04:15 AM   #23
jimmy83
macrumors 65816
 
Join Date: Aug 2008
Location: Portsmouth, UK
Just curious but why wold you want to use a VPN?
jimmy83 is offline   0 Reply With Quote
Old Jan 4, 2012, 05:42 AM   #24
thewitt
macrumors 68000
 
thewitt's Avatar
 
Join Date: Sep 2011
Quote:
Originally Posted by jimmy83 View Post
Just curious but why wold you want to use a VPN?
Though this thread is almost two years old, I'll answer your question.

Many enterprise wireless access points are outside a VPN firewall to help secure the network from intrusion.

The VPN tunnel allows your device into the rest of the corporate network.
thewitt is offline   0 Reply With Quote

Reply
MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
What is the easiest way to setup a home VPN that works with the iPad/iPhone? Still100 iOS 6 17 Mar 20, 2014 03:38 PM
VPN setup paulincanada OS X 10.8 Mountain Lion 4 Apr 23, 2013 01:45 AM
OS Server VPN Setup childoftheko4n Mac OS X Server, Xserve, and Networking 4 Jan 5, 2013 03:48 PM
VPN Setup Help... JoelBC iPad Tips, Help and Troubleshooting 0 Jul 1, 2012 10:13 AM

Forum Jump

All times are GMT -5. The time now is 06:36 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC