cslewis2016
I am running openvpn on a Dlink DNS-325 box, with a kernel version of 2.6.31.8
openvpn is working correctly, but I have an issue accessing the server running openvpn.
By default openvpn will create routes that sends all outside originating traffic through the vpn, which is technically correct, but this cases two problems.
1. I can not connect to the openvpn machine via my router's DDNS address, because the tcp packets go through the vpn, rather than the local network. I can connect via the vpn public address, but that is dynamic.
2. If I start the openvpn s/w while connected to the box, that session will die as the ssh packets will start be routed through the vpn.
This version of linux does not support iptables.
Is there a way to force ssh packets to route through the local net without having iptables?
cslewis2016
I can make things work, if I add an explicit route for where I want to ssh from through the non-openvpn gateway, but that is potentially too restrictive.
How do I configure openvpn to add some static routes it has added the ones pushed from the server?
The metric for the ones added by openvpn are 0, so even if I add an explicit route before starting openvpn, the system doesn't use it.