Ancestors

Written by Dust0741@lemmy.world on 2024-10-31 at 20:08

Minecraft server and reverse proxy

https://lemmy.world/post/21490911

=> More informations about this toot | More toots from Dust0741@lemmy.world

Toot

Written by Björn Tantau on 2024-10-31 at 20:27

NPM won’t help you here. As you said, it’s only for http. You will have to set up port forwarding in your router. But as far as I recall Minecraft changes its port with every game. So you could either change that in your router every time you start another game.

But it would be better (for security as well) to set up a VPN. Many routers actually have that built in.

That is, if your goal is to have your Minecraft server reachable through the internet.

For DNS you will need a Dynamic DNS service to let the name always point to your public IP. For this as well many routers have built-in functionality. Maybe even a preferred service.

=> More informations about this toot | More toots from bjoern_tantau@swg-empire.de

Descendants

Written by Dust0741@lemmy.world on 2024-10-31 at 20:38

With Crafty you can bind a specific port.

I use tailscale for public access, and have set it up so tailscale users can access the domain.

I guess what I’m asking for is NPM but for tcp.

=> More informations about this toot | More toots from Dust0741@lemmy.world

Written by catloaf@lemm.ee on 2024-10-31 at 20:57

Regular nginx does this just fine docs.nginx.com/nginx/…/tcp-udp-load-balancer/

Keep in mind that you can’t route tcp by hostname, because hostname is not a property of tcp. It only knows IP addresses. Host routing requires a protocol like HTTP.

=> More informations about this toot | More toots from catloaf@lemm.ee

Written by Björn Tantau on 2024-10-31 at 21:08

Port forwarding is what you’re looking for. You almost certainly can configure that in your router. You tell it what the port in the outside should be and to what IP and port in your LAN it should go.

=> More informations about this toot | More toots from bjoern_tantau@swg-empire.de

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113403918971450944
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
268.992438 milliseconds
Gemini-to-HTML Time
1.636347 milliseconds

This content has been proxied by September (3851b).