for Marc Deslauriers Hi, openvpn doesnt create any file in /etc/NetworkManager/system-connections (I dont have any script up option in my openvpn config files since I want network manager to define dns not openvpn, it worked perfect untill ubunut version 21.1
here for the wired connection: in /etc/NetworkManager/system-connections [ipv4] dns=1.1.1.1; dns-search= ignore-auto-dns=true method=auto [ipv6] addr-gen-mode=stable-privacy dns-search= method=disabled ---------------------------- > > If you look into the openvpn configuration file that Network Manager > creates for your connection in /etc/NetworkManager/system-connections, > could you please paste the [ipv4] and [ipv6] sections? > > ** No longer affects: ubuntu > > ** Changed in: network-manager (Ubuntu) > Status: New => Incomplete > > ** Information type changed from Public Security to Public > > ------------------------------------------------------------- > > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1948533 > > Title: > any dns defined in network-manager doesnt go in openvpn tunnel (leaks > on gnome/mate/xubuntu only in 21.10) > > Status in network-manager package in Ubuntu: > Incomplete > > Bug description: > in all linux including ubuntu up to version 21.04, when dns is set to not > automatic in network manager and one dns is set manually (exemple 1.1.1.1) > when openvpn is used the dns is going through the vpn tunnel. > On ubuntu 21.10 (I tested ubuntu, ubuntu mate and xubuntu)I can affirm the > dns in this case is not going trough the vpn.it is leaking.I have used ubuntu > for years this is first time this problem occurs (21.10).(and it s not just a > question of packages because on my arch linux installs I never had such > problem, so it must be a config problem. > > (when using packages stubby or dnscrypt-proxy (to encrypt dns queries) > and dns 127.0.0.1 is set in network-manager the dns does goes trough > the vpn (but stubby service needs to be sometimes reloded, it is less > reliable that it used to be with previous versions of ubuntu) > > (I cannot speculate where the bug is from (network-manager, systemd > resolved etc) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1948533/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1948533 Title: any dns defined in network-manager doesnt go in openvpn tunnel (leaks on gnome/mate/xubuntu only in 21.10) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1948533/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
