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?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/330833

Title:
  NetworkManager always overwrites default route when connecting to
  OpenVPN network

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager-openvpn/+bug/330833/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to