我在服务器和客户端配置中都设置了:
cipher none
auth none
Run Code Online (Sandbox Code Playgroud)
按照这个建议,我也使用 UDP 端口 1195。
当我启动服务器和客户端时,我收到以下警告:
Tue Dec 4 12:58:25 2018 ******* WARNING *******: '--cipher none' was specified. This means NO encryption will be performed and tunnelled data WILL be transmitted in clear text over the network! PLEASE DO RECONSIDER THIS SETTING!
Tue Dec 4 12:58:25 2018 ******* WARNING *******: '--auth none' was specified. This means no authentication will be performed on received packets, meaning you CANNOT trust that the data received by the …Run Code Online (Sandbox Code Playgroud) 我有两台电脑在一个 WiFi 网络中:
有时(十次一次)在 B 重新启动后,我无法从 A 到 B:
$ ssh 192.168.201.128
ssh: connect to host 192.168.201.128 port 22: No route to host
Run Code Online (Sandbox Code Playgroud)
当我尝试 ping 它时,我得到:
$ ping 192.168.201.128
PING 192.168.201.128 (192.168.201.128) 56(84) bytes of data.
From 192.168.201.133 icmp_seq=1 Destination Host Unreachable
From 192.168.201.133 icmp_seq=2 Destination Host Unreachable
From 192.168.201.133 icmp_seq=3 Destination Host Unreachable
Run Code Online (Sandbox Code Playgroud)
ARP 可能是问题所在:
$ arp
Address HWtype HWaddress Flags Mask Iface
_gateway ether 70:4c:a5:a7:c2:57 C wlp2s0
192.168.201.128 (incomplete) wlp2s0
Run Code Online (Sandbox Code Playgroud)
我试图像这样修复它:
$ sudo arp -d 192.168.201.128 …Run Code Online (Sandbox Code Playgroud)