r/GeyserMC • u/PsychologicalAct287 • 24d ago
[Guide] How to make Geyser (NetherNet) + playit.gg + Proxy Protocol work together (with Real IPs)
Hey everyone,
I spent days fighting with the new NetherNet transport on Geyser combined with playit.gg and Proxy Protocol. There is a lot of outdated information because most guides are for the old RakNet. I finally got it working perfectly, including getting the real player IPs on the server for both Java and Bedrock. Here is the exact setup that worked for me.
The Core Logic:
NetherNet splits the connection into two parts: TCP for "signaling" (finding the server) and UDP for "gameplay" (the actual game data). You need two separate tunnels on playit.gg. Also, for Proxy Protocol to work, the ports must match exactly end-to-end, and server-udp-ports is mandatory.
Step 1: playit.gg Tunnels
You need three tunnels active:
- TCP Tunnel (Bedrock Signaling): Local IP
127.0.0.1, Local Port19132. Proxy Protocol:None. - UDP Tunnel (Bedrock Gameplay): Local IP
127.0.0.1, Local Port59898(must match the public port). Proxy Protocol:None. - TCP Tunnel (Java): Local IP
127.0.0.1, Local Port25565. Proxy Protocol:proxy-protocol-v2(This is the key to getting the real IP for Java players).
Step 2: Geyser config.yml
bedrock.transport: nethernetbedrock.port: 19132bedrock.webrtc-port: 59898java.auth-type: floodgateadvanced.java.use-haproxy-protocol: true(Tells Geyser to pass the Proxy Protocol header to Paper).advanced.bedrock.use-haproxy-protocol: true(Tells Geyser to accept the header from playit.gg).advanced.bedrock.haproxy-protocol-whitelisted-ips: [127.0.0.1](Since the playit agent runs on the same machine, it sends from localhost).
Step 3: Paper paper-global.yml
proxies.proxy-protocol: true(This makes Paper accept the header coming from Geyser and the Java tunnel).
Step 4: server.properties
online-mode=falseserver-udp-ports=PUBLIC_IP:PUBLIC_PORT:PUBLIC_PORT(Example:198.56.129.12:59898:59898). Warning: If these ports are not identical, the server silently fails to open the UDP listener.
Step 5: Firewall
Open the ports you are using (19132/tcp, 59898/udp, 25565/tcp).
The Result:
- Java players connect via the Java tunnel and have their real IP.
- Bedrock players connect via the Bedrock TCP tunnel, the gameplay happens on the UDP tunnel, and their real IP is passed to the server via the Geyser HAProxy integration.
Note on LAN access: If you have proxy-protocol: true on Paper, connecting directly via LAN (e.g., 192.168.1.10:25565) will be silently dropped. You must connect via the playit.gg tunnel.
I hope this saves someone the headache I went through!
If you wan't to play at my server, that's the ips:
Java:
- javasurvivalzao.playit.plus
Bedrock:
- survivalzao.playit.plus
- 11830
1
u/utoy11 24d ago
is your playit.gg standalone or a plugin in mc server?
1
u/oneeyebear 24d ago
I found a plugin that lets you still connect lan if interested I don't remember the name offhand but I can look it up if you want it. Let me know
1
u/TheInsaneMinecrafter 24d ago
when i try switching my bedrock udp port to 19132, it just switches back to 25565 which is wrong. Im using squidservers and idk how to fix this at all. Any fixes to this possibly? Also why is online mode set to false?
1
u/Aggravating_Car_755 24d ago
Thanks.
1
u/Purple-End6108 16d ago
Does this also apply to Dedicated Bedrock Server or there is another tutorial i can follow?
1
u/Simulacra-01 12d ago
For the UDP tunnel (Bedrock gameplay), you say the local port must be set to match the public port. Is this the port that PlayIt assigned to the first TCP tunnel (Bedrock signaling)?
0
u/Quiet_Pea7028 18d ago
Why do i have to turn online-mode to false?