Goal: force all traffic through VPN only.
Client: Windows in VM
VPN: OPENVPN
I delete the 0.0.0.0 route in the client. I make a route for the destination of my VPN server with my LAN default gateway as the gateway (192.168.1.1). So, in practice when I turn on openvpn, it attempts to connect to the server IP which has a route through my local LAN gateway, which would result in a connection and a new VPN connection established. And when the VPN connection drops, all traffic stops.
However, I am unable to connect to the VPN server. I was able to replicate the same scenario in softether, but not openvpn. What am I doing wrong?
No comments:
Post a Comment