[Pkg-utopia-maintainers] Bug#838907: network-manager-openvpn: Network Manager adds weird routes after connecting to OpenVPN

Jan Korbel debian at teptin.net
Thu Jul 9 18:21:19 BST 2020


Hello.

Problem still exists in up-to-date unstable.

OpenVPN-in-OpenVPN is not working with Network manager. It works w/o Network manager
(if second tunnel started by openvpn init script).

First tunnel is "redirect-gateway def1", second without gw redirect.

Routes:

1. non working
nm - first tunnel to public_srv1
nm - second tunnel to public_srv2

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         0.0.0.0         0.0.0.0         U     50     0        0 tun0
0.0.0.0         192.168.43.51   0.0.0.0         UG    600    0        0 wlan0
<public_srv1>   192.168.43.51   255.255.255.255 UGH   600    0        0 wlan0
<public_srv2>   192.168.43.51   255.255.255.255 UGH   600    0        0 wlan0 --- PROBLEM
...
192.168.43.0    0.0.0.0         255.255.255.0   U     600    0        0 wlan0
192.168.43.51   0.0.0.0         255.255.255.255 UH    600    0        0 wlan0
192.168.239.33  192.168.239.41  255.255.255.255 UGH   50     0        0 tun1
192.168.239.41  0.0.0.0         255.255.255.255 UH    50     0        0 tun1
192.168.239.48  0.0.0.0         255.255.255.240 U     50     0        0 tun0

2. working
nm - first tunnel to public_srv1
openvpn - second tunnel to public_srv2

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         0.0.0.0         0.0.0.0         U     50     0        0 tun0
0.0.0.0         192.168.43.54   0.0.0.0         UG    600    0        0 wlan0
<public_srv1>   192.168.43.54   255.255.255.255 UGH   600    0        0 wlan0
...
192.168.43.0    0.0.0.0         255.255.255.0   U     600    0        0 wlan0
192.168.43.54   0.0.0.0         255.255.255.255 UH    600    0        0 wlan0
192.168.239.33  192.168.239.41  255.255.255.255 UGH   0      0        0 tun1
192.168.239.41  0.0.0.0         255.255.255.255 UH    0      0        0 tun1
192.168.239.48  0.0.0.0         255.255.255.240 U     50     0        0 tun0

Regards,

JK



More information about the Pkg-utopia-maintainers mailing list