frp
frp copied to clipboard
[Feature Request] xtcp 添加 proxy protocol 的支持
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
Can you describe more about your usage scenario?
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.
Got it.