家里有动态公网 ip ,家里的电脑用 zerotier , tailscale 或者自建的 netbird ,和手机(用流量)之间都会走 relay ,没法打洞成功
路由器是 routeros ,在电脑上测试了,默认情况下是 Port Restricted Cone NAT ,网上找了两条命令
/ip firewall nat add action=endpoint-independent-nat chain=srcnat protocol=udp place-before=0 comment=FullCone-Nat
/ip firewall nat add action=endpoint-independent-nat chain=dstnat protocol=udp place-before=0 comment=FullCone-Nat
跑完变 Full Cone NAT 了,但是还走的 relay 。
这种是正常情况么?或者有什么办法可以定位下原因?