As titled, i’m running Minecraft, and it currently works in regards to using the net plugin to proxy the port.
What i’m trying to figure out is that when a player connects, the MC host only gets the proxy’s IP logged as the client instead of the IP of the connecting player. Is there a way to pass/forward the connecting client IP through?
If this helps, this is how i have it set up:
In Minecraft player connects to mc.domain.com
(minecraft’s default port is 25565).
“Caddy-net” runs on a vm on ip 10.0.2.10
host mcadmin
has a service running that hosts minecraft on a different port: 19132
the Caddyfile I use for Caddy-net:
proxy :25565 mcadmin:19132 {
host mc.domain.com
tls off
}
This is user data of a friend who connects from across the country: