Set VPN connection on iOS programmatically or openVPN source code
Asked Answered
A

1

5

I tried to find openVPN source code for iOS, but found only for Android. OpenVPN create app for AppStore in collaboration with Apple or something, so they don't want (or can't) to distribute source codes.

So, I continued searching on this theme and found documentation about Configuration Profile Key (link) and found this article (link). But this article says:

  1. You need to use a supported VPN client which can either be the built-in Cisco IPSec client or a supported SSL VPN client

Is this necessary to use some installing client (like openVPN connect from AppStore)?

Can I configure VPN programmatically from my app? And how (if it possible)?

Thank you for any help you can provide in this situation

Antidisestablishmentarianism answered 7/4, 2014 at 15:11 Comment(0)
M
7

Yes you can configure VPN programmatically from your IOS app. IOS 8 has added a new framework called network extension framework which provides some API's for developers to configure VPN programatically. Please refer the this blog

Mainstay answered 28/11, 2014 at 7:22 Comment(5)
is it possible in ios7 ?Hereld
No it is not possible. Only from iOS 8 Network Extension Framework has been added.Mainstay
I cant find much documentation about OpenVPN and iOS, but found many post that recommend the same post (ramezanpour.net/....) but at this address I only get blank page saying "pageok". Any idea where can I find this post?Gwennie
Hey @babasmith: I just found it by means of wayback machine and there is another one from the same author that might interest you.Misbelief
@ashok link is 404, please add relevant info to your answer in the future.Uracil

© 2022 - 2024 — McMap. All rights reserved.