使用 Openvpn 连接到 VPN Gate

使用 Openvpn 连接到 VPN Gate

我尝试连接到https://www.vpngate.net/使用 openvpn 作为客户端。所以我做了:

  • 从其中一个服务器下载一个 ovpn 文件
  • 执行:

    sudo openvpn vpngateconfig.ovpn

  • 最后一次按摩喷出:

    初始化序列已完成

然而,当我尝试 ping 网络上的任何地址时,它说

Temporary failure in name resolution

我尝试使用不同的服务器,但都不起作用。如何解决此问题?顺便说一句,我使用的是 Ubuntu 18.10

问候

编辑:

~$ 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

当 VPN 启动或关闭时都会发生这种情况。

答案1

我发现了一个不错的 GUI 客户端,它可以完成所有工作,从列出可用的 VPNgate 服务器,到连接到以下服务器之一:

网关网关

相关内容