正常情况下,网吧电脑是无法直接加入的,即使已经安装了ZeroTierOne客户端,加入了Network,ping其他节点是不通的,这时候就需要以下设置。
运行CMD
route print -4或者route print 10.*
可以看到类似:
=========================================================================
接口列表
3...1a 4b 24 ac 9c 4b ......Intel(R) 82599 10 Gigabit Network Connection
6...aa 85 bd 60 9b c2 ......ZeroTier Virtual Port
1...........................Software Loopback Interface 1
=========================================================================
可以看到ZeroTier Virtual Port在6号端口
route add 10.0.0.0 mask 255.255.255.0 0.0.0.0 metric 10 if 6
然后
netsh advfirewall firewall add rule name="ZeroTier" dir=in action=allow program="C:\Program Files (x86)\ZeroTier\One\zerotier-one_x64.exe"
把其中的地址改为实际地址
route print | findstr 10.0.0
route delete 10.0.0.0
操作完成!