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.

Replies

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
  • Matt - Any recommendation on secure communication of two vpn clients apps on the same iOS device? If there is mission critical data App A would like to securely transmit to App B and App C(without going through a serve), what you would you recommend? Any help is greatly appreciated. Thanks.

Add a Comment