iXcoder
iXcoder

Reputation: 1564

if possible start VPN connection in iPhone app?

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.

Upvotes: 6

Views: 4249

Answers (1)

Tim M.
Tim M.

Reputation: 54387

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.

Upvotes: 4

Related Questions