tun0没有互联网访问权限

我在tun0(Ubuntu 16 / EC2)上使用OpenVPN,我可以使用systemctl start openvpn@Ireland (PIA的爱尔兰群集)成功启动它,但是界面没有Internet访问权限:

 curl --interface tun0 -vv http://icanhazip.com/plain * Trying 104.20.17.242... * Local Interface tun0 is ip 10.34.10.6 using address family 2 * Local port: 0 * Trying 2400:cb00:2048:1::6814:10f2... * Trying 2400:cb00:2048:1::6814:11f2... * Trying 2400:cb00:2048:1::6814:10f2... * Trying 2400:cb00:2048:1::6814:11f2... 

这是我的/etc/openvpn/Ireland.conf:

 client dev tun proto udp remote ireland.privateinternetaccess.com 1198 resolv-retry infinite nobind persist-key persist-tun cipher aes-128-cbc auth sha1 tls-client remote-cert-tls server auth-user-pass comp-lzo verb 1 reneg-sec 0 crl-verify crl.rsa.2048.pem ca ca.rsa.2048.crt disable-occ auth-user-pass secrets route-nopull 

注意最后一行: route-nopull 。 没有它,我的SSH连接会立即丢失,而且我不希望VPN连接成为默认设置,我只想选择性地将它与cURL一起使用。

这是我的路由表(对我来说这是一个非常灰色的区域):

 route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 172.31.32.1 0.0.0.0 UG 0 0 0 eth0 10.34.10.5 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 172.31.32.0 0.0.0.0 255.255.240.0 U 0 0 0 eth0 

我如何提供tun0互联网访问?

非常感谢。

PS我也想了解解决方案。