[Pkg-utopia-maintainers] Bug#1067052: network-manager: Wrong priorities for OpenVPN connections

Evgeny Fishgalov evgeny at fishgalov.com
Sun Mar 17 17:18:03 GMT 2024


Package: network-manager
Version: 1.42.4-1
Severity: normal
X-Debbugs-Cc: evgeny at fishgalov.com

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 at 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 at 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 at 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


-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-17-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8),
LANGUAGE=ru_RU:ru
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages network-manager depends on:
ii  adduser                         3.134
ii  dbus [default-dbus-system-bus]  1.14.10-1~deb12u1
ii  libaudit1                       1:3.0.9-1
ii  libbluetooth3                   5.66-1+deb12u1
ii  libc6                           2.36-9+deb12u4
ii  libcurl3-gnutls                 7.88.1-10+deb12u5
ii  libglib2.0-0                    2.74.6-2
ii  libgnutls30                     3.7.9-2+deb12u2
ii  libjansson4                     2.14-2
ii  libmm-glib0                     1.20.4-1
ii  libndp0                         1.8-1
ii  libnewt0.52                     0.52.23-1+b1
ii  libnm0                          1.42.4-1
ii  libpsl5                         0.21.2-1
ii  libreadline8                    8.2-1.3
ii  libselinux1                     3.4-1+b6
ii  libsystemd0                     252.22-1~deb12u1
ii  libteamdctl0                    1.31-1
ii  libudev1                        252.22-1~deb12u1
ii  policykit-1                     122-3
ii  polkitd                         122-3
ii  udev                            252.22-1~deb12u1

Versions of packages network-manager recommends:
ii  dnsmasq-base [dnsmasq-base]  2.89-1
ii  libpam-systemd               252.22-1~deb12u1
ii  modemmanager                 1.20.4-1
ii  ppp                          2.4.9-1+1.1+b1
ii  wireless-regdb               2022.06.06-1
ii  wpasupplicant                2:2.10-12

Versions of packages network-manager suggests:
ii  iptables       1.8.9-2
pn  libteam-utils  <none>

Versions of packages network-manager is related to:
ii  isc-dhcp-client  4.4.3-P1-2

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20240317/d92390b6/attachment.htm>


More information about the Pkg-utopia-maintainers mailing list