Comments (7)
from frp.
如果考虑到支持这个功能,我可以提供测试环境,或者帮忙测试。
from frp.
或者 增加选项,设置 UDP 打洞数据包的 源端口。这样,在路由器(网关)“端口映射”设置的 源端口,也有机会 获得 NAT1。
from frp.
upnp 相关的内容在 #4112 中跟进,你可以使用对应的 PR 编译进行测试。
也可以反馈当前 p2p 打洞两端的环境和日志,有助于帮助我们进行优化。
from frp.
upnp 相关的内容在 #4112 中跟进,你可以使用对应的 PR 编译进行测试。
也可以反馈当前 p2p 打洞两端的环境和日志,有助于帮助我们进行优化。
xtcp
中 proxy
端日志:
2024-06-06 14:50:56.021 [I] [proxy/xtcp.go:72] [5e414b2fc219fc0f] [ikuai.ssh] nathole prepare success, nat type: EasyNAT, behavior: BehaviorNoChange, addresses: [2.2.2.2:9361 2.2.2.2:9361], assistedAddresses: [192.168.253.3:49192]
2024-06-06 14:50:56.030 [I] [proxy/xtcp.go:93] [5e414b2fc219fc0f] [ikuai.ssh] get natHoleRespMsg, sid [1717656655e974dc6a4af62f69], protocol [quic], candidate address [103.155.100.146:36738 103.155.100.145:36738], assisted address [192.168.6.21:49262 192.168.11.3:49262], detectBehavior: {Role:receiver Mode:1 TTL:7 SendDelayMs:0 ReadTimeoutMs:5000 CandidatePorts:[{From:36733 To:36743}] SendRandomPorts:0 ListenRandomPorts:0}
2024-06-06 14:50:56.040 [I] [proxy/xtcp.go:72] [5e414b2fc219fc0f] [ikuai.drive] nathole prepare success, nat type: EasyNAT, behavior: BehaviorNoChange, addresses: [2.2.2.2:9362 2.2.2.2:9362], assistedAddresses: [192.168.253.3:49416]
2024-06-06 14:50:56.048 [I] [proxy/xtcp.go:93] [5e414b2fc219fc0f] [ikuai.drive] get natHoleRespMsg, sid [1717656655b4ca0d05af26398f], protocol [quic], candidate address [103.155.100.134:42432 103.155.100.133:42432], assisted address [192.168.6.21:65156 192.168.11.3:65156], detectBehavior: {Role:receiver Mode:1 TTL:7 SendDelayMs:0 ReadTimeoutMs:5000 CandidatePorts:[{From:42427 To:42437}] SendRandomPorts:0 ListenRandomPorts:0}
2024-06-06 14:50:57.066 [I] [proxy/xtcp.go:109] [5e414b2fc219fc0f] [ikuai.ssh] establishing nat hole connection successful, sid [1717656655e974dc6a4af62f69], remoteAddr [3.3.3.3:49262]
2024-06-06 14:50:57.069 [I] [proxy/xtcp.go:109] [5e414b2fc219fc0f] [ikuai.drive] establishing nat hole connection successful, sid [1717656655b4ca0d05af26398f], remoteAddr [3.3.3.3:65156]
xtcp
中 visitors
端日志:
2024-06-06 14:50:53.202 [I] [visitor/visitor_manager.go:121] [985f1072d95b89c5] start visitor success
2024-06-06 14:50:53.202 [I] [visitor/visitor_manager.go:121] [985f1072d95b89c5] start visitor success
2024-06-06 14:50:53.202 [I] [visitor/visitor_manager.go:172] [985f1072d95b89c5] visitor added: [mac.nacos mac.ikuai mac.synology-ssh mac.hp-print mac.sonar mac.stabe-diffusion mac.sshd-frpc-ssh mac.sshd-frpc-web mac.ssh mac.drive]
2024-06-06 14:50:53.221 [I] [client/control.go:168] [985f1072d95b89c5] [mac.proxy] start proxy success
2024-06-06 14:50:53.740 [I] [visitor/xtcp.go:283] [985f1072d95b89c5] [mac.ssh] nathole prepare success, nat type: HardNAT, behavior: BehaviorIPChanged, addresses: [103.155.100.146:36738 103.155.100.145:36738], assistedAddresses: [192.168.6.21:49262 192.168.11.3:49262]
2024-06-06 14:50:53.747 [I] [visitor/xtcp.go:283] [985f1072d95b89c5] [mac.drive] nathole prepare success, nat type: HardNAT, behavior: BehaviorIPChanged, addresses: [103.155.100.134:42432 103.155.100.133:42432], assistedAddresses: [192.168.6.21:65156 192.168.11.3:65156]
2024-06-06 14:50:55.128 [I] [visitor/xtcp.go:309] [985f1072d95b89c5] [mac.ssh] get natHoleRespMsg, sid [1717656655e974dc6a4af62f69], protocol [quic], candidate address [2.2.2.2:9361], assisted address [192.168.253.3:49192], detectBehavior: {Role:sender Mode:1 TTL:0 SendDelayMs:0 ReadTimeoutMs:5000 CandidatePorts:[] SendRandomPorts:0 ListenRandomPorts:0}
2024-06-06 14:50:55.146 [I] [visitor/xtcp.go:309] [985f1072d95b89c5] [mac.drive] get natHoleRespMsg, sid [1717656655b4ca0d05af26398f], protocol [quic], candidate address [2.2.2.2:9362], assisted address [192.168.253.3:49416], detectBehavior: {Role:sender Mode:1 TTL:0 SendDelayMs:0 ReadTimeoutMs:5000 CandidatePorts:[] SendRandomPorts:0 ListenRandomPorts:0}
2024-06-06 14:50:55.166 [I] [visitor/xtcp.go:320] [985f1072d95b89c5] [mac.ssh] establishing nat hole connection successful, sid [1717656655e974dc6a4af62f69], remoteAddr [2.2.2.2:9361]
2024-06-06 14:50:55.168 [I] [visitor/xtcp.go:320] [985f1072d95b89c5] [mac.drive] establishing nat hole connection successful, sid [1717656655b4ca0d05af26398f], remoteAddr [2.2.2.2:9362]
目前 proxy 在 NAT1 环境下,visitors 在 NAT4 环境下,打洞成功!
from frp.
@wuai1024 成功的是原生版本还是 upnp PR 编译出来的版本?
我们希望收集的是默认情况下无法成功,开启 upnp 后成功的场景。
from frp.
proxy 在 NAT1 环境下,visitors 在 NAT4 环境下,打洞成功!
符合预期
from frp.
Related Issues (20)
- frp 0.58.1 Server 连接几分钟后断链 HOT 2
- One port for multiple remote connections HOT 1
- 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 1
- 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.