"Exclude routes emulation" after using the "net_gateway" option in client config

Post Reply
AquaL1te
OpenVpn Newbie
Posts: 13
Joined: Sun Aug 05, 2018 9:56 am

"Exclude routes emulation" after using the "net_gateway" option in client config

Post by AquaL1te » Fri Jan 03, 2020 12:22 pm

Hi,


I route all my traffic through my OpenVPN gateway on my phone. I want to exclude a network from this gateway redirect. As far as I understand, this can be done in the client config by the use of the net_gateway variable.

I've included the following in my client config with as goal to use the local gateway for that subnet instead of my VPN gateway.

Code: Select all

route 100.66.54.0 255.255.255.0 net_gateway
However, when I check my OpenVPN client on Android, I see "Exclude routes emulation" for large portions of the internet. That doesn't give me confidence that my VPN will just exclude the route I provided. I've seen this output in more posts, does it really mean that these routes are all not going through my VPN anymore?
Image

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 6510
Joined: Fri Jun 03, 2016 1:17 pm

Re: "Exclude routes emulation" after using the "net_gateway" option in client config

Post by TinCanTech » Fri Jan 03, 2020 3:58 pm

The idea is to add routes which supercede the --redirect-gateway routing for certain routes to go via the network gateway and not the VPN gateway. So you are on the right track but your log above does seem to indicate something else is going on ..

Please see:
viewtopic.php?f=30&t=22603#p68963

Post Reply