← Back to team overview

desktop-packages team mailing list archive

[Bug 1211110] Re: network manager openvpn dns push data not updating system DNS addresses


It doesn't solve the bug, but I think you can solve the problem of entering your usr/pwd on each connect in terminal by adding your usr/pwd to a simple text file (e.g., file.txt) that is literally nothing but your credentials:

(line 1) usr
(line 2) pwd

located in the same dir. where your .conf  or .ovpn file is located. Be
sure also to change this credential file's permissions to read/wrt for
root only (chmod 600).

Then just change the .conf file itself to include the line 
`auth-user-pass file.txt`

Hope this helps.

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.

  network manager openvpn dns push data not updating system DNS

Status in network-manager package in Ubuntu:
Status in openvpn package in Ubuntu:

Bug description:
  When IPv4 Method is set to Automatic VPN, DNS address recieved from
  OpenVPN server do not update resolv.conf.

  This can be achieved when using a standard openvpn config file by
  adding the lines:

  script-security 2
  up /etc/openvpn/update-resolv-conf
  down /etc/openvpn/update-resolv-conf

  In Network-manager there seems to be no option to run connection
  specific scripts and the DNS data from the server is ignored.

  Ubuntu 13.04

To manage notifications about this bug go to: