CRAP I finally got it! Now some people might not like the idea of disabling systemd, but as I explain below, I'm not seeing problems on simple networks.
sudo systemctl disable systemd-resolved.service sudo service systemd-resolved stop Delete the symlink /etc/resolv.conf rm /etc/resolv.conf Install openresolv Edit NetworkManager.conf [main] plugins=ifupdown,keyfile rc-manager=resolvconf dns=default Restart network-manager sudo service network-manager restart Edit resolvconf.conf name_server_blacklist=192.168.1.1 I have as example 192.168.1.1 to block my router, put in the nameserver that appears in resolv.conf you want to block when starting the VPN. Now when you check resolv.conf before connecting to the VPN it will look like this as example; # Generated by NetworkManager nameserver 192.168.1.1 Connect now to your VPN and it will look like this as example; # Generated by resolvconf nameserver 12.1.12.1 ENJOY! :) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1755675 Title: Ubuntu 17.10 OpenVPN DNS Leaks Status in network-manager package in Ubuntu: New Bug description: On Ubuntu 17.10 x64 I have noticed that when using the NetworkManager and OpenVPN, that DNS leaks from the Router or ISP, instead of only being tunneled from the VPN... I have spent hours playing with this, it's beyond absurd, the amount of time and effort needed to try and resolve something that should be working out the box! This is not LFS, or Slackware, in fact Slackware is simpler and easier to make this work in less then 5 mins! Seriously this has been an ongoing issue for ages/years in Ubuntu, and the end-users typically for Ubuntu are inexperienced users, again, the only thing end-users should have to do is install the correct OpenVPN packages, configure OpenVPN in the NetworkManager and it works, but it doesn't! While Canonical works on trying to resolve this, can someone PLEASE tell me a simple way in which to prevent DNS leaks while using OpenVPN through the NetworkManager? THANKS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1755675/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp