Page 1 of 1
Server behind reverse proxy
Posted: Thu Nov 13, 2025 12:36 am
by herrkatze0658
I am currently running a server on my domain, however I don't see an option to set the public address that factorio will use for the server.
I am behind a CGNAT, so my only option is to use a reverse proxy such as playit.gg.
Does anyone know how to make the server broadcast its existence using my defined address?
Re: Server behind reverse proxy
Posted: Thu Nov 13, 2025 2:06 am
by pioruns
CGNAT is worst nightmare, you can't fix it, you can only make workarounds.
Maybe rent a VPS or a shell account and set up a remote access system chained to a reverse proxy for services inside your home network?
Re: Server behind reverse proxy
Posted: Thu Nov 13, 2025 4:29 am
by herrkatze0658
As stated, I am working around it, I'd just like a way to get the server browser to use my workaround. I don't have the money to rent a vps or I would do that
Re: Server behind reverse proxy
Posted: Thu Nov 13, 2025 11:32 am
by pioruns
Can you change Internet Provider?
My ISP gives me dynamic IP (which doesn't change for years at a time), and full incoming access, I have many services running on open ports.
Re: Server behind reverse proxy
Posted: Thu Nov 13, 2025 6:38 pm
by herrkatze0658
Nope, my parents use this provider, plus I'm in the middle of nowhere so there aren't too many options
Re: Server behind reverse proxy
Posted: Thu Nov 13, 2025 7:33 pm
by eugenekay
The
command line parameter --bind <ADDRESS>:<PORT> allows you to select the (local) network interface that is used. Generally you would set this to the address of the "Virtual Tunnel Adapter" provided by the VPN/Proxy service. I do not know the specifics of the 'playit' service, which appears to be Minecraft-focussed.
Re: Server behind reverse proxy
Posted: Thu Nov 13, 2025 8:25 pm
by herrkatze0658
What playit does, is I open factorio's port using factorio, then players connect to my domain, and the program forwards that request over localhost to Factorio.
There is no adapter I bind it to.