mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #2748] [Feature Request] xtcp 添加 proxy protocol 的支持 #2198
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#2198
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 @Nats-ji on GitHub (Jan 10, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2748
Describe the feature request
希望xtcp协议也可以支持proxy protocol来获取用户端的ip。
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Jan 10, 2022):
Can you describe more about your usage scenario?
@Nats-ji commented on GitHub (Jan 10, 2022):
I'm currently running a Minecraft server behind NAT. I want to use frp's XTCP mode for the reverse proxying, so the players can connect directly to the Minecraft server to reduce the latency.
I also need to know the players' real IP addresses, however currently XTCP can't do that. I'm currently using TCP mode's proxy protocol to achieve this, but the TCP mode will add extra latency because all the traffic is routed through the frp server first.
That's why I want to request the support of the proxy protocol in XTCP mode.
@fatedier commented on GitHub (Jan 11, 2022):
Got it.