mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4783] [Feature Request] 希望支持 转发TCP流量时附带真实IP #3776
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3776
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @raphaelcheung on GitHub (May 4, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4783
Describe the feature request
希望用 FRP 转发 TCP 长连接(非HTTP)时能附带上请求方的真实IP。
类似 NGINX 中 stream 下的的proxy_protocol on;
Describe alternatives you've considered
No response
Affected area
@gesangtome commented on GitHub (May 7, 2025):
@raphaelcheung 你好,你可能需要这个。请参阅go-mmproxy,然后你就可以在本地解析由frp服务器传入的proxy_protocol头中的真实访问者ip地址,并由go-mmproxy转发到你的后端服务。祝好!
@raphaelcheung commented on GitHub (May 9, 2025):
感谢回答!我本地的服务是支持proxy_protocol的,但frp转发的没有带上proxy_protocol头
@github-actions[bot] commented on GitHub (May 24, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
@dengxiwang commented on GitHub (Jun 27, 2025):
有好的解决办法吗