I'm using OpenVPN on Windows 10. I'd like to exclude traffic on certain ports (for example, SSH) from the VPN and instead use the underlying network. Can this be done?
On Linux, I'd imagine using iptables
with -p tcp --dport 22
to redirect to the underlying device instead of the VPN tunnel device to do this. What are my options on Windows?
The VPN has (so far) assigned me an IP in the 10.9.0.0/16
range. The underlying network gives me an IP in 10.13.0.0/16
, and most of my SSH traffic goes to 10.105.0.0/16
in the underlying network, or to Github (nslookup
tells me that's 192.30.252.128
).
ssh
to in the same LAN as the VPN client or a different one ? Please add full details to your question