OpenVPN eth0 拒绝 ping

OpenVPN eth0 拒绝 ping

我在一台 Ubuntu 16.04 机器上安装了 OpenVPN 服务器。我需要从家外使用 OpenVPN 客户端进行连接

使用 tun0 网络从服务器 (192.168.2.50) 执行 ping 操作

客户端-1

vino@ubuntu:~$ ping 10.8.0.18    
PING 10.8.0.18 (10.8.0.18) 56(84) bytes of data.    
64 bytes from 10.8.0.18: icmp_seq=1 ttl=64 time=240 ms    
64 bytes from 10.8.0.18: icmp_seq=2 ttl=64 time=47.0 ms    
^C    
--- 10.8.0.18 ping statistics ---    
2 packets transmitted, 2 received, 0% packet loss, time 1002ms    
rtt min/avg/max/mdev = 47.020/143.818/240.617/96.799 ms    

客户端-2

vino@ubuntu:~$ ping 10.8.0.22    
PING 10.8.0.22 (10.8.0.22) 56(84) bytes of data.    
64 bytes from 10.8.0.22: icmp_seq=1 ttl=64 time=217 ms    
64 bytes from 10.8.0.22: icmp_seq=2 ttl=64 time=589 ms    
64 bytes from 10.8.0.22: icmp_seq=3 ttl=64 time=507 ms    
^C    
--- 10.8.0.22 ping statistics ---    
3 packets transmitted, 3 received, 0% packet loss, time 2003ms    
rtt min/avg/max/mdev = 217.640/438.043/589.171/159.390 ms    

但使用 eth0 和 wlp4s0 网络从服务器 ping 失败

客户端-1

vino@ubuntu:~$ ping 192.168.1.5    
PING 192.168.1.5 (192.168.1.5) 56(84) bytes of data.    
^C    
--- 192.168.1.5 ping statistics ---    
2 packets transmitted, 0 received, 100% packet loss, time 1000ms    

客户端-2

vino@ubuntu:~$ ping 192.168.43.253    
PING 192.168.43.253 (192.168.43.253) 56(84) bytes of data.    
^C    
--- 192.168.43.253 ping statistics ---    
6 packets transmitted, 0 received, 100% packet loss, time 5020ms

我无法使用 wlp3n0 或 eth0 网络从服务器 ping 通客户端,反之亦然

相关内容