Docs /
Minecraft Java Edition
Put a Java server behind ZEROPING with the Java profile, an SRV record so players keep typing your own name, and PROXY protocol so your server still sees real player addresses.
Ports TCP 25565
Add the server
In the panel go to Services, choose Add game server, then Minecraft Java.
Enter your origin IP address and port. The common default is
25565over TCP; check your host if you changed it.Choose the location closest to your server and give the service a name.
Turn on PROXY protocol unless you cannot change your server software yet. With it on, your server sees real player addresses; with it off, every player appears to come from ZEROPING.
Save. The Connect tab now shows your ZEROPING address and its public port, for example
yourname.play.zeroping.hkon port25565. The public port is not always the same as your origin port, so copy the SRV record the panel shows rather than typing the port yourself.
Let players keep your name
Players should not have to learn a new address. Add an SRV record at your DNS provider that points your own hostname at the ZEROPING address. The panel shows a ready-made record; it looks like this.
_minecraft._tcp.play.example.net. 3600 IN SRV 0 5 25565 yourname.play.zeroping.hk. Players keep typing play.example.net. Their client looks up the SRV record and connects to the edge. If you use Minecraft's default port on your own hostname, no port is needed in the server list.
Turn on PROXY protocol in your server
When PROXY protocol is on in the panel, your server must expect it, or every connection fails. Enable it in exactly one place in your chain.
[advanced]
haproxy-protocol = true listeners:
- host: 0.0.0.0:25577
proxy_protocol: true proxies:
proxy-protocol: true Close the origin
Protection only holds if players cannot go around it. Allow inbound 25565/tcp at your origin firewall only from the ranges shown on the service's Connect tab, and drop everything else. Do this after the connection check passes, not before.
Test it
In the panel choose Check connection. A pass means the edge reached your origin.
From a computer outside your network run the lookup below; it should return the ZEROPING address.
Join with a real client using your normal server address.
$ dig +short SRV _minecraft._tcp.play.example.net
0 5 25565 yourname.play.zeroping.hk. If the check fails, see whether PROXY protocol matches on both sides first. It is the most common cause.
Was this helpful?