一般如果你是 Full Cone 的话都能直连成功,影响 NAT 类型很多因素,运营商设置,是否路由器拨号,路由器防火墙设置,win10 防火墙设置等,建议一步一步排除,先电脑直连光猫拨号,用 NatTypeTester 测试 NAT,如果是 Full Cone 的话证明你的宽带 NAT 类型支持,然后再设置路由器,一般 openwrt 和 pandavan 固件上都有设置 Full Cone NAT 的地方。
祝你成功 目前移动光纤宽带,zerotier 可以直连公司网络,很香
sikong31
2020-04-25 10:48:43 +08:00
没公网 ipv4,可以看看有没有公网 ipv6 地址,基本上都有的
zyq2280539
2020-04-25 10:56:18 +08:00
确实要国内节点 moon 才能管用,已经尝试过了,我海外 4 个 moon 节点,丢包率不忍直视
qistchan
2020-04-25 10:56:44 +08:00
我改用 tinc 了,体验还不错
zyq2280539
2020-04-25 10:57:53 +08:00
(base) ➜ ~ ping n2.box PING n2.box (172.25.26.138): 56 data bytes 64 bytes from 172.25.26.138: icmp_seq=0 ttl=64 time=27.495 ms 64 bytes from 172.25.26.138: icmp_seq=1 ttl=64 time=343.049 ms 64 bytes from 172.25.26.138: icmp_seq=2 ttl=64 time=101.794 ms 64 bytes from 172.25.26.138: icmp_seq=3 ttl=64 time=40.176 ms 64 bytes from 172.25.26.138: icmp_seq=4 ttl=64 time=97.742 ms 64 bytes from 172.25.26.138: icmp_seq=5 ttl=64 time=119.048 ms 64 bytes from 172.25.26.138: icmp_seq=6 ttl=64 time=23.415 ms 64 bytes from 172.25.26.138: icmp_seq=7 ttl=64 time=21.151 ms 64 bytes from 172.25.26.138: icmp_seq=8 ttl=64 time=22.155 ms 64 bytes from 172.25.26.138: icmp_seq=9 ttl=64 time=85.445 ms 64 bytes from 172.25.26.138: icmp_seq=10 ttl=64 time=44.417 ms 64 bytes from 172.25.26.138: icmp_seq=11 ttl=64 time=40.827 ms 64 bytes from 172.25.26.138: icmp_seq=12 ttl=64 time=79.954 ms