dndx / phantun

Transforms UDP stream into (fake) TCP streams that can go through Layer 3 & Layer 4 (NAPT) firewalls/NATs.
Apache License 2.0
1.71k stars 138 forks source link

为什么phantun服务端没有tcp的监听端口? #80

Closed lls2wow closed 2 years ago

lls2wow commented 2 years ago

您好,请问 为什么phantun服务端没有tcp的监听端口?

tcp 监听端口设置的4567 ··· netstat -ln Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:50022 0.0.0.0: LISTEN
tcp 0 0 0.0.0.0:50023 0.0.0.0:
LISTEN
tcp 0 0 0.0.0.0:57197 0.0.0.0: LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:
LISTEN
tcp6 0 0 :::111 ::: LISTEN
tcp6 0 0 :::50233 :::
LISTEN
udp 0 0 0.0.0.0:111 0.0.0.0:
udp 0 0 127.0.0.1:1009 0.0.0.0:

udp 0 0 0.0.0.0:57601 0.0.0.0:
udp6 0 0 :::111 :::

udp6 0 0 :::47908 :::* ···

期待您的回复

Handsome1080P commented 2 years ago

No Chinese here. https://github.com/dndx/phantun/issues/65

dndx commented 2 years ago

Answered in https://github.com/dndx/phantun/issues/65#issuecomment-1176877623.