Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] xtcp 添加 proxy protocol 的支持 #2748

Open
11 tasks
Nats-ji opened this issue Jan 10, 2022 · 3 comments
Open
11 tasks

[Feature Request] xtcp 添加 proxy protocol 的支持 #2748

Nats-ji opened this issue Jan 10, 2022 · 3 comments
Labels

Comments

@Nats-ji
Copy link

Nats-ji commented Jan 10, 2022

Describe the feature request

希望xtcp协议也可以支持proxy protocol来获取用户端的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
@fatedier
Copy link
Owner

Can you describe more about your usage scenario?

@Nats-ji
Copy link
Author

Nats-ji commented 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
Copy link
Owner

Got it.

@fatedier fatedier added the todo label Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants