Sample Header Ad - 728x90

How to exclude a specific destination IP from VPN?

2 votes
1 answer
1768 views
I want to route a specific IP address from hotspot (wlan0) to Mobile Data (rmnet_data1) interface on Android 11, bypassing VPN. I use my phone as a hotspot and also with the help of an app called "VPN Hotspot" I share the VPN with my PC. I want to exclude a specific IP address from VPN. I have tried the route option in "OpenVPN for Android" client and it doesn't seem to work properly. I think it might because of "Always On" enabled. Can I achieve this with ip route command?
Asked by poqdavid (1433 rep)
Sep 25, 2021, 01:35 PM
Last activity: Oct 3, 2021, 07:29 PM