Route / NAT traffic from VPN server through iPhone

Hello everyone!

We are trying to implement secure VPN application and need to route traffic from our internal VPN server to external wifi / cellular network of iOS device.

On android we already done this with VPN client + proxy server running in background.

Is there any way to do this on iOS?

We think two ways of implementation:

  1. Configure SNAT + VPN on iOS
  2. Background proxyserver (or something that could forward packets) and VPN client on iOS.

We are trying to implement secure VPN application and need to route traffic from our internal VPN server to external wifi / cellular network of iOS device Background proxyserver (or something that could forward packets) and VPN client on iOS.

The intended use case of a Network Extension NEPacketTunnelProvider is to secure client traffic through VPN tunneling protocol from a client device to a server. It would not be supported to use the Network Extension APIs to try and run a proxy server from to route traffic to different locations on the device, or network, outside of the tunnel.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
Route / NAT traffic from VPN server through iPhone
 
 
Q