[GH-ISSUE #4268] xtcp 能获取到访问的真实ip吗? #3366

Closed
opened 2026-05-05 14:10:11 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @wuai1024 on GitHub (Jun 6, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4268

Describe the feature request

目前 xtcp 类型的代理穿透,是提前通道公网服务器联系打洞后再直连访问的,打洞的时候双方的公网ip都能获取的。这个能不能透传下去啊。

希望能获取到tcp的真实ip,现在获取到的是 被访问端的 frpc ip。

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 @wuai1024 on GitHub (Jun 6, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4268 ### Describe the feature request 目前 xtcp 类型的代理穿透,是提前通道公网服务器联系打洞后再直连访问的,打洞的时候双方的公网ip都能获取的。这个能不能透传下去啊。 希望能获取到tcp的真实ip,现在获取到的是 被访问端的 frpc ip。 ### 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 (Jun 6, 2024):

不能获取。

<!-- gh-comment-id:2152209533 --> @fatedier commented on GitHub (Jun 6, 2024): 不能获取。
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#3366
No description provided.