Bind interface to VPN connection
Posted: Thu Oct 05, 2017 11:50 am
Hi,
i have following szenario:
A pc with the following interfaces with openvpn client installed.
Interface wwan0 connects to the internet. It is configured via DHCP.
The wwan0 interface shall also be used for the openvpn connection.
wlan0 interface to connect to a wifi. Also configured via DHCP. The wifi may also provide an internet connection.
In general the openvpn connection does work. But if i have both connections established (wlan0 and wwan0 are connected)
the openvpn client does always use the wlan0 interface.
How can i prevent this - i assume the problem is related to the default gateway setting of my setup. Is that correct?
Thanks in advance
i have following szenario:
A pc with the following interfaces with openvpn client installed.
Interface wwan0 connects to the internet. It is configured via DHCP.
The wwan0 interface shall also be used for the openvpn connection.
wlan0 interface to connect to a wifi. Also configured via DHCP. The wifi may also provide an internet connection.
In general the openvpn connection does work. But if i have both connections established (wlan0 and wwan0 are connected)
the openvpn client does always use the wlan0 interface.
How can i prevent this - i assume the problem is related to the default gateway setting of my setup. Is that correct?
Thanks in advance