Server behind reverse proxy

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
herrkatze0658
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Nov 09, 2025 7:52 pm
Contact:

Server behind reverse proxy

Post 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?
User avatar
pioruns
Fast Inserter
Fast Inserter
Posts: 231
Joined: Tue Nov 05, 2024 3:38 pm
Contact:

Re: Server behind reverse proxy

Post 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?
herrkatze0658
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Nov 09, 2025 7:52 pm
Contact:

Re: Server behind reverse proxy

Post 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
User avatar
pioruns
Fast Inserter
Fast Inserter
Posts: 231
Joined: Tue Nov 05, 2024 3:38 pm
Contact:

Re: Server behind reverse proxy

Post 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.
herrkatze0658
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Nov 09, 2025 7:52 pm
Contact:

Re: Server behind reverse proxy

Post by herrkatze0658 »

Nope, my parents use this provider, plus I'm in the middle of nowhere so there aren't too many options
eugenekay
Filter Inserter
Filter Inserter
Posts: 871
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: Server behind reverse proxy

Post 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.
herrkatze0658
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Nov 09, 2025 7:52 pm
Contact:

Re: Server behind reverse proxy

Post 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.
Post Reply

Return to “Technical Help”