0

I am using Ubuntu 18.04 I followed the instruction in Default DNS Server not switched after connecting to OpenVPN and in https://github.com/jonathanio/update-systemd-resolved

From the command line when I run the DNS switch does happen but when I try to import using the GUI and turn it on it does not update the DNS.

sudo openvpn --config Downloads/aws-tk.ovpn

Is there any other setting that needs to done to make it work from the GUI?

content of /etc/resolv.conf

nameserver 127.0.0.53 
options edns0

My .ovpn

client
dev tun
proto udp
remote xxx.xxx.xxx.xx 1234
resolv-retry infinite
nobind
persist-key
persist-tun
auth-nocache
remote-cert-tls server
auth-user-pass
cipher AES-256-CBC
reneg-sec 0
mssfix 1420
script-security 2
dhcp-option DNS 10.xxx.xxx.xxx
dhcp-option DOMAIN-ROUTE .
setenv PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
up /etc/openvpn/scripts/update-systemd-resolved
up-restart
down /etc/openvpn/scripts/update-systemd-resolved
down-pre
4
  • edit your question, show us the content of /etc/resolve.conf Apr 30, 2020 at 9:12
  • updated the comment
    – kumar
    Apr 30, 2020 at 9:20
  • what does your journal -f say
    – user986805
    Apr 30, 2020 at 10:01
  • @bac0n could you please elaborate just started in Linux and ubuntu.
    – kumar
    Apr 30, 2020 at 10:49

0

You must log in to answer this question.

Browse other questions tagged .