LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[BUG] Cant bind IP to 7 days to die

Open wrecktify opened this issue 2 years ago • 2 comments

As a server owner, I want to bind a specific public IP in the 7 days to die config file to the server.

Basic info

  • Distro: [Ubuntu 20.04]
  • Game: [7 Days to Die]
  • Command: [Start/Details]
  • LinuxGSM version: [v21.5.1]

Further Information

In /lgsm/config-lgsm/sdtdserver/sdtdserver.cfg I set ip="72.9.144.140", however this server IP variable doesn't actually get injected anywhere in the startup parameters.
startparameters="-quit -batchmode -nographics -dedicated -configfile=${servercfgfullpath}" This leads to the server ALWAYS binding to the main IP address only and can not be binded to a 2nd ip address on the server.

To Reproduce

Steps to reproduce the behaviour:

  1. Set 2nd IP address in sdtdserver.cfg
  2. Start Server
  3. See server Binds only to 1st Main IP Address

Expected behaviour

Bind to a 2nd IP address properly

wrecktify avatar May 14 '22 15:05 wrecktify

this is a good point. I cant see a specific way to bind to a port on sdtd. in which case the IP variable may only be useful for monitor functionality

dgibbs64 avatar Jun 22 '22 22:06 dgibbs64

Has anyone found a way to do this

je4550 avatar Dec 28 '23 06:12 je4550