how can I proxy spectrum for Minecraft?
I want to proxy spectrum to a Minecraft server but to still keep the original ip of the user that’s joining
9 Replies
You'd have to pass it some other way and have your server understand the format. Cloudflare Spectrum for Enterprise supports proxy protocol: https://developers.cloudflare.com/spectrum/how-to/enable-proxy-protocol/ and then you could use something like mmproxy https://github.com/path-network/go-mmproxy to unwrap the format/deal with it and route the connection with the real ip
MC servers have ProxyProto options on start so
does it? That's interesting, I googled it and only found tcpshield's abandoned plugin, seems to be different depending on the mc server software and guessing no support for bedrock
Nono
Geyser has ProxyProto for bedrock
and Bungee has it for java
also newer paper/spigot versions
I've always used https://github.com/andylizi/haproxy-detector
GitHub
GitHub - andylizi/haproxy-detector: A Minecraft plugin that enables...
A Minecraft plugin that enables proxied and direct connections both at the same time. - andylizi/haproxy-detector
haven't looked for alternatives in a while though so maybe i can do it natively now
u can
With bungee/velocity and newer spigot versions
cool