as topic, I want establish VPN connection in iPhone app, if it possible? but seem not public API for this purpose .开发者_JAVA技巧..
anyone give tip, thanks.
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.
精彩评论