We don't need VNC access.

So what I can think of here; it that I still don't know what kind of VPN
you used. Was it vpnc, openvpn, openconnect or pptp? This is important
because the behavior may change radically from one to the other.

What I tried was VPNC, seemed to work properly. I'll re-test shortly in
case something happened to break my results. Could you also start the
vpn plugin you use in debug mode (see
http://live.gnome.org/NetworkManager/Debugging) and send me the logs via
email? Mind that these logs may contain sensitive information like
usernames and password, so you'll certainly want to review it first and
"sanitize" it.

Unless you mean that you're not actually using the VPN plugins from
NetworkManager and instead use the binaries directly? That's pretty much
the one way I can think of for them to modify resolv.conf directly.
Perhaps as another data point you could attach
/run/resolvconf/interface/NetworkManager, that should contain everything
that comes from NetworkManager.

** Changed in: network-manager (Ubuntu)
       Status: Confirmed => Incomplete

** Changed in: network-manager (Ubuntu)
     Assignee: (unassigned) => Mathieu Trudel-Lapierre (mathieu-tl)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/980579

Title:
  It's impossible to ignore VPN provided DNS servers

Status in “network-manager” package in Ubuntu:
  Incomplete

Bug description:
  I have a desktop Precise installation with a normal dnsmasq installed,
  so I disabled the nm-spawned dnsmasq instance from
  NetworkManager.conf.

  I create a VPN connection in Network Manager without specifying any DNS 
servers. When I connect to it, I get:
  $ cat /var/run/dnsmasq/resolv.conf 
  nameserver 150.140.1.4
  nameserver 150.140.1.25
  nameserver 127.0.0.1
  nameserver 194.63.238.4
  nameserver 8.8.8.8

  I want to ignore the first two entries which are provided by my VPN.
  So I go to the VPN connection editor and I declare DNS=127.0.0.1. But
  again I get the same /var/run/dnsmasq/resolv.conf, so my DNS server
  entry there is completely ignored by network-manager and/or
  resolvconf.

  How can I tell Network Manager and/or resolvconf to ignore the DNS
  servers provided by my VPN connection?

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to