Skip to content

Commit a7bf84f

Browse files
committed
docs(readme): 更新自述文件
1 parent 55d7ff8 commit a7bf84f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Proxy Protocol Support
2+
> This version is for Minecraft 1.20.1
3+
24
Proxy Protocol Support is a [Fabric](https://fabricmc.net/) and [Quilt](https://quiltmc.org/) mod which adds support for [Proxy Protocol (HAProxy)](https://www.haproxy.com/blog/haproxy/proxy-protocol/ "Proxy Protocol (HAProxy)") for your Minecraft server.
35

46
For example you can use [TCPShield](https://tcpshield.com/ "TCPShield") or other software ([Nginx](https://nginx.org/en/docs/stream/ngx_stream_proxy_module.html#proxy_protocol "Nginx")) to forward traffic, and hide your server's IP address. Without Proxy Protocol you can see in console Proxy's IP address. Using and reading Proxy Protocol packet makes showing player's IP address possible.
57

6-
Server-Side mod only, on the client does nothing!
7-
8-
Supports Minecraft versions 1.14-1.19.2 and probably snapshots (untested)
8+
In our setup, we use a Tencent Lighthouse (LH) server as a reverse proxy in front of a Minecraft server running on our home network to hide the origin server’s real IP address. Players connect to the LH server, while the actual Minecraft server’s IP remains concealed behind it. With this mod, we can still obtain players’ real IP addresses (such as bukkit plugins that need to get player's IP address) even when the server is behind the reverse proxy.

0 commit comments

Comments
 (0)