OpenVPN Client with a different gateway


im using 2 wan interfaces in my setup (DSL and 5G). how can i force the openvpn client to use my second route (5G metric 2) to connect, and not to use my DSL (metric 1)?


bind in to a specific interface ?

1 Like

i´ve tried to that with the local option in the *.ovpn config file, but still use the default route...
is there a other way to bind the tun0 to eth2?

i´m using pbr to control my clients. to tell them to use vpn, dsl or 5g. but how can i tell the ovpn client to use the 5G interface ??

1 Like

Create a high priority routing rule for the VPN endpoint.