MikeWang000000 / Natter

Expose your TCP/UDP port behind full-cone NAT to the Internet.
GNU General Public License v3.0
1.63k stars 137 forks source link

打洞失败 #122

Open RealGcat opened 1 week ago

RealGcat commented 1 week ago

日志

dmz主机关闭时

Natter v2.1.1 2024-11-19 02:56:53 [I] Tips: Use --help to see help messages 2024-11-19 02:56:58 [I] 2024-11-19 02:56:58 [I] tcp://192.168.10.103:50520 <--Natter--> tcp://223.79.245.105:11473 2024-11-19 02:56:58 [I] 2024-11-19 02:56:58 [I] Test mode in on. 2024-11-19 02:56:58 [I] Please check [ http://223.79.245.105:11473 ] 2024-11-19 02:56:58 [I] 2024-11-19 02:56:58 [I] LAN > 192.168.10.103:50520 [ OPEN ] 2024-11-19 02:56:58 [I] LAN > 192.168.10.103:50520 [ OPEN ] 2024-11-19 02:56:59 [I] LAN > 223.79.245.105:11473 [ CLOSED ] 2024-11-19 02:57:08 [I] WAN > 223.79.245.105:11473 [ CLOSED ] 2024-11-19 02:57:08 [W] !! Hole punching failed !! 2024-11-19 02:57:08 [I]

dmz主启时

2024-11-19 02:48:20 [I] Tips: Use --help to see help messages 2024-11-19 02:48:25 [I] 2024-11-19 02:48:25 [I] tcp://192.168.10.103:54538 <--Natter--> tcp://223.79.245.105:11649 2024-11-19 02:48:25 [I] 2024-11-19 02:48:25 [I] Test mode in on. 2024-11-19 02:48:25 [I] Please check [ http://223.79.245.105:11649 ] 2024-11-19 02:48:25 [I] 2024-11-19 02:48:25 [I] LAN > 192.168.10.103:54538 [ OPEN ] 2024-11-19 02:48:25 [I] LAN > 192.168.10.103:54538 [ OPEN ] 2024-11-19 02:48:26 [I] LAN > 223.79.245.105:11649 [ CLOSED ] 2024-11-19 02:48:27 [I] WAN > 223.79.245.105:11649 [ OPEN ] 2024-11-19 02:48:27 [I]

NatterCheck v2.1.1 Checking TCP NAT... [ FAIL ] ... NAT Type: 4 Checking UDP NAT... [ OK ] ... NAT Type: 1

在nattypetester测试中stun.miwifi.com测试结果为tcp fail udp成功,但stun.fitauto.ru和stun.hot-chilli.net测试tcp与udp皆成功,在stun.syncthing.net测试皆fail,所有成功的udp测试映射行为和过滤行为皆为EndpointIndependent,成功的tcp测试映射行为皆为AddressAndPortDependent

RealGcat commented 1 week ago

NatTypeTester测试协议为rfc5780

Droid-MAX commented 6 days ago

do not spam the issues.

RealGcat commented 6 days ago

问题已解决,请关闭这个issues