Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

if possible start VPN connection in iPhone app?

Tags:

iphone

as topic, I want establish VPN connection in iPhone app, if it possible? but seem not public API for this purpose ...

anyone give tip, thanks.

like image 447
iXcoder Avatar asked Dec 14 '10 04:12

iXcoder


People also ask

What happens when you turn on VPN on iPhone?

If you install a VPN app on your iPhone and connect to a VPN server, all the data traveling to and from your device will be encrypted. Using a VPN service on your iPhone will also hide your device's IP address, so the websites you visit won't know your location.

Does VPN on iPhone work for apps?

Yes, when you use a VPN to connect to a server, you'll then be issued with a new IP address based in that location. This will then hide your true IP address from your iPhone, as well as any apps, sites, or services you try to access.

Should I have VPN enabled on my iPhone?

iOS encryption does not encrypt your web browsing data (because this is not what iOS encryption is for). You must encrypt your web traffic yourself if you want to stop your ISP, nosy government agencies or vulnerable public Wi-Fi hotspots from being able to view your data, and the only way to do that is by using a VPN.


1 Answers

I've seen RDP over VPN using the iPhone (though I haven't set it up myself) and Cisco indicates support for VPN connections from iPhone on their ASA series:

And Apple provides instructions.

So VPN connections using a variety of protocols are definitely possible. However, initiating the connection programmatically is a different matter.

I did some additional reading (including old posts here on SO like VPN connection with Objective-C).

The more that I think about it, allowing an application to quietly initiate a VPN connection could pose a big security risk. I would be surprised to see API support for it.

However, creating your own VPN client on the iPhone (though MUCH more difficult than making an API call) is still theoretically possible.

like image 144
Tim M. Avatar answered Sep 30 '22 21:09

Tim M.