VPN - Swift

hello everyone, I want to create VPN app with swiftUI but i do not know where to start. I have already created some beautiful UI but now i want to configurate network to connect another country server. any suggestions?

It seems like you've done this the wrong way round.

You should find out how to make a VPN, get it working as a bare bones app - no frills - then add a UI to it.

Alternatively, you develop the UI as you go when you're getting the VPN to work.

As for how to write a VPN, I think that's a bit out of scope for these forums. You might want to do a search on the internet and figure out how to do it.

Keep in mind that there are two mechanisms to work with VPN on iOS:

The first option is pretty simple. If you want to explore that, my advice is that you first use Apple Configurator to create a VPN configuration profile that works with your VPN server. Once you get that working, you can then investigate the API to create the same configuration.

The second is much harder.

Share and Enjoy

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

VPN - Swift
 
 
Q