Giter Club home page Giter Club logo

Comments (6)

xqzr avatar xqzr commented on August 27, 2024

nat type: HardNAT

可能 ISP 将 NAT 类型更改为更严格的

from frp.

wuai1024 avatar wuai1024 commented on August 27, 2024

我的是全锥型网络

from frp.

fatedier avatar fatedier commented on August 27, 2024

分类为 HardNAT ,无法穿透属于正常现象,文档中已经说明可用性和稳定性无法保证,在需要可靠连接的情况下,建议使用 STCP 替代。

建议可以多次尝试,以及配置 keepTunnelOpen = true 自动重试,如果还是不行建议放弃。

from frp.

wuai1024 avatar wuai1024 commented on August 27, 2024

提供端 frpc 日志

2024-05-22 14:43:51.279 [I] [proxy/xtcp.go:72] [bb07b93ee913cc78] [ikuai.ssh-xtcp] nathole prepare success, nat type: EasyNAT, behavior: BehaviorNoChange, addresses: [117.143.124.254:9392 117.143.124.254:9392], assistedAddresses: [192.168.253.3:35594]
2024-05-22 14:43:52.290 [I] [proxy/xtcp.go:93] [bb07b93ee913cc78] [ikuai.ssh-xtcp] get natHoleRespMsg, sid [1716360230ec3bb64dfc6c37f9], protocol [kcp], candidate address [103.155.100.136:3750 103.155.100.135:3750], assisted address [192.168.6.166:58597], detectBehavior: {Role:sender Mode:2 TTL:0 SendDelayMs:3000 ReadTimeoutMs:35000 CandidatePorts:[] SendRandomPorts:1000 ListenRandomPorts:0}

访问端frpc日志:

2024-05-22 14:44:31.090 [I] [visitor/xtcp.go:283] [6cae7aba85645393] [mac-temp.ssh] nathole prepare success, nat type: HardNAT, behavior: BehaviorIPChanged, addresses: [103.155.100.148:62382 103.155.100.147:62382], assistedAddresses: [192.168.6.166:60626]
2024-05-22 14:44:31.929 [I] [visitor/xtcp.go:309] [6cae7aba85645393] [mac-temp.ssh] get natHoleRespMsg, sid [17163602708250f12fa9b2a3d2], protocol [kcp], candidate address [117.143.124.254:9457], assisted address [192.168.253.3:45388], detectBehavior: {Role:receiver Mode:2 TTL:7 SendDelayMs:0 ReadTimeoutMs:38000 CandidatePorts:[] SendRandomPorts:0 ListenRandomPorts:256}
2024-05-22 14:44:50.521 [E] [visitor/xtcp.go:179] [6cae7aba85645393] [mac-temp.ssh] open tunnel error: open tunnel timeout
2024-05-22 14:45:07.861 [W] [visitor/xtcp.go:146] [6cae7aba85645393] [mac-temp.ssh] keepTunnelOpenWorker get tunnel connection error: no tunnel session
2024-05-22 14:45:09.955 [W] [visitor/xtcp.go:316] [6cae7aba85645393] [mac-temp.ssh] make hole error: wait detect message timeout

from frp.

wuai1024 avatar wuai1024 commented on August 27, 2024

目前是一端为 NAT1 ,一端为 NAT4

from frp.

wuai1024 avatar wuai1024 commented on August 27, 2024

已成功了,谢谢大佬 @fatedier

from frp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.