Boringproxy add support "proxy-protocol"

Proxy Protocol to send user’s real IP to local services.

  • I use vpn wireguard, I installed wg server in vds, wg client in home pc, on the wg server I forwarded the port to 10.228.228.2 which is located on the home pc, the game server is hosted on this ip, if you add proxy-protocol support then I will be able to get the correct IP of players on the server instead of 10.228.228.1 for all gamse players server.

Proxy Protocol to send user’s real IP to local services.

Hi @lootoos, this is definitely something I would like to have in boringproxy. I’m not sure if I’ll ever get around to it, but I’ve added an issue here to track it: Consider implementing the proxy protocol · Issue #199 · boringproxy/boringproxy · GitHub