burntoc
Probably an easy question with a hard to find answer (for me, anyway)....
I connect to OpenVPN from multiple clients but today I noticed that even though I've been connecting to machines on the remote network, most other traffic such as browsing is going straight out the local net gateway. I want DNS and all network traffic to go to far gateway when VPN connected.
OpenVPN is on a Tomato router and the clients are Windows and Android. On the server side I have direct clients to force traffic to gateway and respond to DNS checked, and on the client ovpn files I have redirect-gateway and the gateway IP specified. Don't think I am doing anything special and surprises me it isn't working. I am not pushing routes from server explicitly anyway. Here is the rest of my ovpn less the ca/client lines. Can anyone help me figure where I have gone wrong?
remote remote.lan.net
port 443
dev tap
proto tcp-client
tls-client
comp-lzo
route gateway 192.168.100.1
redirect-gateway
float
resolv-retry infinite
nobind
persist-key
persist-tun
float
ns-cert-type server