Comment 40 for bug 330833

Revision history for this message
Valerio Bozzolan (bozzy) wrote :

I also can reproduce this issue with NetworkManager of Ubuntu 20.04 Focal Fossa (network-manager 1.22.10-1ubuntu2.2).

If I create an OpenVPN server WITHOUT 'redirect-gateway' and if I use the command line OpenVPN client directly as-is, it works. It does NOT create a new default gateway (because I do not want it).

/usr/sbin/openvpn --config file.ovpn

Instead. If I import that configuration in Network Manager, the "use this connection only for resources on this network" is unchecked and probably that's the cause of the creation of a new additional default route, wrong for these cases.

Any plan about how to fix this issue in NetworkManager?