I have all traffic going through a VPN in my tomato router. I’d like to exclude my gaming server’s address from the VPN. How do I exclude that one specific external IP address from the VPN in the tomato router?
I tried adding:
route my.external.server.ip 255.255.255.255 net_gateway
…which resolves from OpenVPN syntax to the underlying route command:
/sbin/route add -net my.external.server.ip netmask 255.255.255.255 gw 10.0.0.1
…but that yields the error
ERROR: Linux route add command failed: external program exited with error status: 1
What is the OpenVPN syntax to route one external ip through net_gateway ?