Connect to iOS Enterprise VPN

In the iOS application, if you had to access corporate remote services through a VPN, what will be your template in order to communicate and tell the user if this is not the case:

  • make sure your network and VPN are working (checking if any host such as google.com and some private corporate host is accessible), and if this case calls the remote service?
  • or contact the remote service directly, and if there is a network exception, check if both the network host and the corporate host are available? (to find out what is happening and inform the user).
  • or will you do it differently?
+3
source share
1 answer

The usual approach:

1) The user opens a VPN client that provides a connection to the VPN

2) The user uses the application.

Alternative approach:

If you are developing an enterprise application, then you could start and stop the VPN connection directly from the application using private private api.

Advantages of the approach :

Thus, all network connections from the application are routed through the VPN, and the user does not need to enable the VPN connection each time he uses the application.

Reference:

You can find heated discussions on this topic in the following streams.

Theme 1

Theme 2

Theme 3

+1
source

All Articles