I manage some servers where VPN is the only access for maintenance. On Linux, we use xl2tpd, strongswan-starter, and ip-route. I want to gain access to my phone (Pixel 3, Android 12) such that traffic for the servers routes via the VPN, and all else remains routed as usual, not via the VPN. 

How may this be done on Android 12?


1 Answer 1


You don't give a lot of detail for understanding your situation thoroughly, but perhaps take a look at split tunneling. I use ProtonVPN's Split Tunneling function for this purpose. Excluding IP-addresses thus does NOT require root, except when having to use ip-tables. https://docs.strongswan.org/docs/5.9/howtos/forwarding.html

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .