我已经build立了一个服务状态:正在运行的VPN服务器
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 inet 10.8.0.1 netmask 255.255.255.255 destination 10.8.0.2 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
选中的tun内核模块也被启用。
但是当试图连接到它,不能connet。 甚至从本地。
如何解决它..
如果您的服务器在10.8.0.1上进行侦听,则无法在localhost / 127.0.0.1上连接它,因为它不在127.0.0.1上侦听。 你可能想要检查
netstat -an | grep 1194
如果是10.8.0.1,则必须连接到10.8.0.1,如果是0.0.0.0,则可以连接到任何networking接口上configuration的任何地址,包括127.0.0.1
TomTomTom