[0.13][Server] Setup the server to listen on a specific ip
Posted: Mon Jul 18, 2016 5:16 pm
Hello
After reading the wiki, the built-in help of the binary, the server-settings.example.json and asking on the irc channel, I can't find an option to let the server listen on a specific network interface and/or a specific ip address.
This feature could be useful:
- for a gamehosting company running multiple factorio processes on the same server with a specific ip for each process (and not simply different port).
- to limit the announce of a factorio gameserver to a specific interface of the server (only on the vpn or lan interface, but not on the wan interface).
On linux, you can can find a way by adding some iptables rules, but I think a "clean way" should be available.
Thanks
TL;DR: Need a setting for the server to bind() on a specific ip address.
After reading the wiki, the built-in help of the binary, the server-settings.example.json and asking on the irc channel, I can't find an option to let the server listen on a specific network interface and/or a specific ip address.
This feature could be useful:
- for a gamehosting company running multiple factorio processes on the same server with a specific ip for each process (and not simply different port).
- to limit the announce of a factorio gameserver to a specific interface of the server (only on the vpn or lan interface, but not on the wan interface).
On linux, you can can find a way by adding some iptables rules, but I think a "clean way" should be available.
Thanks
TL;DR: Need a setting for the server to bind() on a specific ip address.