I tried to connect to one of the open VPN server in https://www.vpngate.net/ using openvpn as a client. So what I did:
- download one of the ovpn files from one of the servers
execute:
sudo openvpn vpngateconfig.ovpn
it last massage spouted:
Initialization Sequence Completed
However, when I tried to ping any address across the web, it said
Temporary failure in name resolution
I tried to use different servers, but none of them worked. How to troubleshoot this? BTW, I'm using Ubuntu 18.10
regards
Edit:
~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=120 time=22.7 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=120 time=21.4 ms
~$ cat /etc/resolv.conf
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 127.0.0.53
~$ ps auxc | grep -i dns
etherea+ 5292 0.0 0.0 340736 2988 ? Sl 15:11 0:03 gvfsd-dnssd
~$ ps auxc | grep -i resolv
systemd+ 735 0.0 0.0 55932 4000 ? Ss 14:43 0:04 systemd-resolve
This happened when either VPN was up or down.
ping 8.8.8.8
work when the VPN is up? Edit your question and show me the output ofcat /etc/resolv.conf
andps auxc | grep -i dns
andps auxc | grep -i resolv
. Report back to @heynnemacat /etc/resolv.conf
when the VPN is up.