[GH-ISSUE #4015] 请求xtcp添加绑定网卡的功能 #3178

Closed
opened 2026-05-05 14:03:23 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @PHCSJC on GitHub (Feb 21, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4015

Describe the feature request

本身有个内网穿zerotier,再用frp的xtcp做个备用,双保险,问题是xtcp会走zeroiter的网卡来穿透,所以请求xtcp添加绑定网卡的功能,让他走正常访问外网的那个网卡

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @PHCSJC on GitHub (Feb 21, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4015 ### Describe the feature request 本身有个内网穿zerotier,再用frp的xtcp做个备用,双保险,问题是xtcp会走zeroiter的网卡来穿透,所以请求xtcp添加绑定网卡的功能,让他走正常访问外网的那个网卡 ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Feb 21, 2024):

看上去和 https://github.com/fatedier/frp/issues/3717 这个 issue 类似。

这里先 close,后续再考虑下具体的方案,在上面的 issue 中跟进。

<!-- gh-comment-id:1956586397 --> @fatedier commented on GitHub (Feb 21, 2024): 看上去和 https://github.com/fatedier/frp/issues/3717 这个 issue 类似。 这里先 close,后续再考虑下具体的方案,在上面的 issue 中跟进。
Author
Owner

@mydogger commented on GitHub (Jun 7, 2024):

俺也需要这个特性

<!-- gh-comment-id:2154983458 --> @mydogger commented on GitHub (Jun 7, 2024): 俺也需要这个特性
Author
Owner

@PHCSJC commented on GitHub (Sep 24, 2024):

大佬已经支持了吗?

<!-- gh-comment-id:2370448602 --> @PHCSJC commented on GitHub (Sep 24, 2024): 大佬已经支持了吗?
Author
Owner

@PHCSJC commented on GitHub (Jul 23, 2025):

不发新issue了,再次请求大佬支持绑定网卡,因为现在默认的穿透是走的zerotier,我希望的是走公网

2025-07-23 09:46:36.664 [I] [visitor/xtcp.go:313] [1fef744d71b0902a] [ssh_visitor_home] get natHoleRespMsg, sid [175323519600c89f4a16e561e9], protocol [kcp], candidate address [*.*.*.*51816], assisted address [192.168.2.1:51816 192.168.168.2:51816 172.17.0.1:51816 10.8.5.1:51816 10.8.6.1:51816 10.8.0.10:51816 100.86.0.2:51816], detectBehavior: {Role:receiver Mode:0 TTL:7 SendDelayMs:0 ReadTimeoutMs:5000 CandidatePorts:[] SendRandomPorts:0 ListenRandomPorts:0}
2025-07-23 09:46:37.671 [I] [visitor/xtcp.go:324] [1fef744d71b0902a] [ssh_visitor_home] establishing nat hole connection successful, sid [175323519600c89f4a16e561e9], remoteAddr [192.168.168.2:51816]
<!-- gh-comment-id:3105363021 --> @PHCSJC commented on GitHub (Jul 23, 2025): 不发新issue了,再次请求大佬支持绑定网卡,因为现在默认的穿透是走的zerotier,我希望的是走公网 ``` 2025-07-23 09:46:36.664 [I] [visitor/xtcp.go:313] [1fef744d71b0902a] [ssh_visitor_home] get natHoleRespMsg, sid [175323519600c89f4a16e561e9], protocol [kcp], candidate address [*.*.*.*51816], assisted address [192.168.2.1:51816 192.168.168.2:51816 172.17.0.1:51816 10.8.5.1:51816 10.8.6.1:51816 10.8.0.10:51816 100.86.0.2:51816], detectBehavior: {Role:receiver Mode:0 TTL:7 SendDelayMs:0 ReadTimeoutMs:5000 CandidatePorts:[] SendRandomPorts:0 ListenRandomPorts:0} 2025-07-23 09:46:37.671 [I] [visitor/xtcp.go:324] [1fef744d71b0902a] [ssh_visitor_home] establishing nat hole connection successful, sid [175323519600c89f4a16e561e9], remoteAddr [192.168.168.2:51816] ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3178
No description provided.