Comments (6)
nat type: HardNAT
可能 ISP 将 NAT 类型更改为更严格的
from frp.
我的是全锥型网络
from frp.
分类为 HardNAT ,无法穿透属于正常现象,文档中已经说明可用性和稳定性无法保证,在需要可靠连接的情况下,建议使用 STCP 替代。
建议可以多次尝试,以及配置 keepTunnelOpen = true
自动重试,如果还是不行建议放弃。
from frp.
提供端 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.
目前是一端为 NAT1 ,一端为 NAT4
from frp.
已成功了,谢谢大佬 @fatedier !
from frp.
Related Issues (20)
- frp 0.58.1 Server 连接几分钟后断链 HOT 2
- One port for multiple remote connections HOT 2
- frp一段时间后失去连接 HOT 1
- android版本怎么安装和使用 HOT 1
- login to the server failed: session shutdown. HOT 2
- io timeout\connection timeout HOT 2
- [Feature Request] Configure remotePort on the Server HOT 1
- unmarshal ProxyConfig error: json: unknown field "customDomains" HOT 2
- frp返回错误的页面,访问不同子域名时返回错误页面 HOT 1
- 按照gofrp.org官网,提供的p2p教程示例,两台服务器部署的时候json解析失败 HOT 2
- [Feature Request] 是否可以增加压缩条件 HOT 1
- frp 使用route路由locations无效
- Log Failed Authentication Attempts for HTTP Basic Auth on Dashboard [Feature Request] HOT 2
- [Feature Request] 目前只想client端使用http_proxy功能, HOT 1
- 面板深色模式,首页面板,有些字就看不见了 HOT 1
- frps dashboard 代理类型增加 xtcp HOT 1
- 6月前一直没问题,6月以后XTCP一直连不上 HOT 2
- [Feature Request] vpn和frp的共同点是什么?不同点是什么?可以用frp代替vpn吗? HOT 2
- frps运行报错,这个是什么意思? HOT 1
- 最新版frp启动后无法访问控制面板 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frp.