prevent connect through setting VPN iOS swift

Hi

I developed a vpn application for iOS via iKEV2 protocol and network extension for a company. and because it has a free with advertisement plan , so I should prevent users to connecting it from iOS setting, as I was checking several applications in iOS do it and work in the appStore ( but I don't know they use openVPN or IKEV2??), so here is my question!!
Is there any way for prevent users for connecting to the VPN from setting???


Hello Dear Mohsen

Please Contact me at : mamadpod4g@gmail.com

I'm also creating vpn app for iOS

I think you should disable VPNManager from app in a period of time.

Please contact me so we can share more info

Thanks

I am also getting same issue. Can you please help me to resolve this issue ?

Is there any way for prevent users for connecting to the VPN from setting?

I see a couple of options here:

  • You might build your own VPN transpart, by creating a Network Extension packet tunnel provider, at which point you have complete control over the authentication process.

  • You might control this on the server side, so the server blocks the user from logging in until it’s allowed by your app.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

prevent connect through setting VPN iOS swift
 
 
Q