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.
Comment on Minecraft server and reverse proxy
Dust0741@lemmy.world 2 weeks agoWith 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.
bjoern_tantau@swg-empire.de 2 weeks ago
catloaf@lemm.ee 2 weeks ago
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.