jsknnr / enshrouded-server

Run Enshrouded dedicated server in a container
MIT License
176 stars 20 forks source link

Helm server ip #39

Closed yokaimeow closed 5 months ago

yokaimeow commented 5 months ago

my local k8s use metallb,default helm ignore server ip setting

my svc:

lb

but the game server use my public ip:

ip

how can i fix this,thk

yokaimeow commented 5 months ago
$ nc -z -u -v 192.168.50.182 15636
Ncat: Version 7.92 ( https://nmap.org/ncat )
Ncat: Connected to 192.168.50.182:15636.
Ncat: Connection refused.
$ nc -z -u -v 192.168.50.182 15637
Ncat: Version 7.92 ( https://nmap.org/ncat )
Ncat: Connected to 192.168.50.182:15637.
Ncat: UDP packet sent successfully
Ncat: 1 bytes sent, 0 bytes received in 2.05 seconds.
jsknnr commented 5 months ago

The server ip variable is to help the server know which interface to listen on. It is ignored in helm because really it isn't needed at all. The public IP is because it is reaching out to epic online services and getting your public IP address from there. Nothing I can do about that.

yokaimeow commented 5 months ago

thk