@
le4tim github 找不回账号了,注册过不了验证,算了。直接发日志吧,下面就是按你文档操作的日志
服务端:
E:\Downloads>gonc -p2p 0rZj85CEjRBABmofzALgUN -link 1080
Generating ECDSA(PSK-derived) cert for secure communication...completed.
20260110-201517 [MQTT] Pushing Hello to topic nat-exchange/288b1fba89dc533d across 4 servers
20260110-201520 [MQTT] Hello operation completed (via tcp://guest:
[email protected]:1883). tid: cdUDQYy91P;cs=tls
=== Checking NAT reachability ===
Getting local public IP info via 6 STUN servers...(7 answers)OK
tcp4 : LAN=192.168.1.16:32126 | NAT=223.xxx.xxx.239:31910 (hard)
udp4 : LAN=192.168.1.16:32126 | NAT=223.xxx.xxx.239:31984 (hard)
Exchanging address info with peer ...OK (via tcp://guest:
[email protected]:1883)
tcp4 : LAN=10.100.62.128:7531 | NAT=112.xxx.xxx.127:7531 (easy)
udp4 : LAN=10.100.62.128:7531 | NAT=112.xxx.xxx.127:7531 (easy)
=== Trying P2P Connection ===
Exchanging sync message for P2P round 1 ... OK
- Network : tcp4
- Local Address : 192.168.1.16:32226 (LAN) / 223.xxx.xxx.239:32010 (NAT-hard)
- Remote Address: 10.100.62.128:7631 (LAN) / 112.xxx.xxx.127:7631 (NAT-easy)
- Best Route : 112.xxx.xxx.127:7631 (reason: different network)
- Active Mode : connect start immediately
↑ Trying 600 Random Source Ports concurrently...
P2P(TCP) connection established (RSP)!
Performing TLS-C handshake (PSK-based mutual authentication)...completed.
20260110-201528 [gonc] Connected to: 112.xxx.xxx.127:7631
20260110-201528 [:mux] Waiting for linkagent handshake...
20260110-201528 [:mux] [link] Sending R-Config: none?peer_active=1
20260110-201528 [:mux] [link] Waiting for Remote ACK...
20260110-201528 [:mux] [link] Remote ready (OK:none).
20260110-201528 [:mux] [link-x] Listening on 0.0.0.0:1080 (TProxy=true)
20260110-201528 [:mux] TProxy Format:
10.0.0.1-3389.gonc.cc:1080 -> 10.0.0.1:3389
20260110-201528 [:mux] [link] Local service started.
20260110-201554 [:mux] New client connected from 127.0.0.1:32145
20260110-201554 [:mux] TCP: 127.0.0.1:32145->10.0.0.1:1289 connecting...
20260110-201615 [:mux] 127.0.0.1:32145->10.0.0.1:1289 failed: ERROR: dial tcp 10.0.0.1:1289: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
20260110-201615 [:mux] Proxy session 127.0.0.1:32145->10.0.0.1 (T-CONNECT) finished with error: tunnel TCP connect failed: ERROR: dial tcp 10.0.0.1:1289: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
客户端:
C:\Users\Administrator\Desktop>gonc -p2p 0rZj85CEjRBABmofzALgUN -linkagent
Generating ECDSA(PSK-derived) cert for secure communication...completed.
20260110-201413 [MQTT] Waiting for event on topic: nat-exchange/288b1fba89dc533d across 4 servers
20260110-201519 [MQTT] Received event: SYN@cdUDQYy91P;cs=tls, (via tcp://guest:
[email protected]:1883)
20260110-201519 [MQTT] Waiting for message(SYN@cdUDQYy91P;cs=tls) on topic: nat-exchange/288b1fba89dc533d across 4 servers
=== Checking NAT reachability ===
Getting local public IP info via 6 STUN servers...(7 answers)OK
tcp4 : LAN=10.100.62.128:7531 | NAT=112.xxx.xxx.127:7531 (easy)
udp4 : LAN=10.100.62.128:7531 | NAT=112.xxx.xxx.127:7531 (easy)
Exchanging address info with peer ...OK (via tcp://guest:
[email protected]:1883)
tcp4 : LAN=192.168.1.16:32126 | NAT=223.xxx.xxx.239:31910 (hard)
udp4 : LAN=192.168.1.16:32126 | NAT=223.xxx.xxx.239:31984 (hard)
=== Trying P2P Connection ===
Exchanging sync message for P2P round 1 ... OK
- Network : tcp4
- Local Address : 10.100.62.128:7631 (LAN) / 112.xxx.xxx.127:7631 (NAT-easy)
- Remote Address: 192.168.1.16:32226 (LAN) / 223.xxx.xxx.239:32010 (NAT-hard)
- Best Route : 223.xxx.xxx.239:32010 (reason: different network)
- Passive Mode : connect start after 2s
↑ Trying 600 Random Destination Ports concurrently...
P2P(TCP) connection established (RDP)!
Performing TLS-S handshake (PSK-based mutual authentication)...completed.
20260110-201529 [gonc] Connected to: 223.xxx.xxx.239:25379
20260110-201529 [:mux] [linkagent] Session established. OwnerID=
20260110-201531 [MQTT] Waiting for event on topic: nat-exchange/288b1fba89dc533d across 4 servers
20260110-201555 [:mux] TCP-Connect: 10.0.0.1:1289
20260110-201616 [:mux] Failed to connect to target 10.0.0.1:1289: dial tcp 10.0.0.1:1289: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
使用
10.0.0.1-1289.gonc.cc:1080 远程桌面显示内部错误