0

I am trying to setup an openvpn connection over the SSH tunnel which is having SOCKS proxy, but as soon as I connect to the openvpn server after setting up the SOCKS proxy, the SSH tunnel breaks as OpenVPN redirects all traffic.

Is there any way that I can route my SSH client through my Wifi and use OPENVPN to route traffic through the SSH Tunnel but the SSH Client does not get affected by the connection to the OPENVPN server?

Platform - Windows 8.

1 Answers1

0

Configure OpenVPN to install a /32 route to the SSH server’s network address through your local default gateway, which will override the default route over the VPN tunnel. OpenVPN has a number of options for installing routes directly and running scripts at various stages; find one that adds this route before the connection comes up and the default route is changed.