Dear Maintainer,
Differently from VPN-connections established from console via sudo openvpn,
the
ones established via Network Manager have lower priority than the wired
connection. This leads to VPN-connections established via Network Manager
not
being used.
To illustrate that, here are the listings of my routes without VPN, with a
VPN-
connection established via Network Manager and with a VPN-connection
established via sudo openvpn:
eugrus@eugensdebianpc:~$ ip route # without VPN
default via 192.168.178.1 dev enp0s25
default via 192.168.178.1 dev enp0s25 proto dhcp src 192.168.178.25 metric
100
10.0.3.0/24 dev lxcbr0 proto kernel scope link src 10.0.3.1 linkdown
169.254.0.0/16 dev enp0s25 scope link metric 1000
192.168.178.0/24 dev enp0s25 proto kernel scope link src 192.168.178.25
192.168.178.0/24 dev enp0s25 proto kernel scope link src 192.168.178.25
metric
100
192.168.178.1 dev enp0s25 scope link
eugrus@eugensdebianpc:~$ ip route # VPN established from Network Manager
default via 192.168.178.1 dev enp0s25
default via 10.8.0.1 dev tun0 proto static metric 50
default via 192.168.178.1 dev enp0s25 proto dhcp src 192.168.178.25 metric
100
10.0.3.0/24 dev lxcbr0 proto kernel scope link src 10.0.3.1 linkdown
10.8.0.0/24 dev tun0 proto kernel scope link src 10.8.0.2 metric 50
94.198.134.88 via 192.168.178.1 dev enp0s25 proto static metric 50
169.254.0.0/16 dev enp0s25 scope link metric 1000
192.168.178.0/24 dev enp0s25 proto kernel scope link src 192.168.178.25
192.168.178.0/24 dev enp0s25 proto kernel scope link src 192.168.178.25
metric
100
192.168.178.1 dev enp0s25 scope link
192.168.178.1 dev enp0s25 proto static scope link metric 50
eugrus@eugensdebianpc:~$ ip route # VPN established with sudo openvpn
0.0.0.0/1 via 10.8.0.1 dev tun0
default via 192.168.178.1 dev enp0s25
default via 192.168.178.1 dev enp0s25 proto dhcp src 192.168.178.25 metric
100
10.0.3.0/24 dev lxcbr0 proto kernel scope link src 10.0.3.1 linkdown
10.8.0.0/24 dev tun0 proto kernel scope link src 10.8.0.2
94.198.134.88 via 192.168.178.1 dev enp0s25
128.0.0.0/1 via 10.8.0.1 dev tun0
169.254.0.0/16 dev enp0s25 scope link metric 1000
192.168.178.0/24 dev enp0s25 proto kernel scope link src 192.168.178.25
192.168.178.0/24 dev enp0s25 proto kernel scope link src 192.168.178.25
metric
100
192.168.178.1 dev enp0s25 scope link
Kind regards,
Evgeny Fishgalov