#SteamCMD IP allocation

16 messages · Page 1 of 1 (latest)

uneven pilot
#

Using Valheim as an example.
When starting server. I get
Session "Server Name" with join code 1234 and IP public:27001 is active

The "Address" box in the panel shows play.domain.com:27001

I can connect with the join code and publicIP:port but cannot connect with play.domain.com:port

The way I have my minecraft servers setup is that the DNS provides the IP of a VPS. The VPS forwards the connection to my public IP. Then I have firewall rules setup to only open ports coming from that VPS IP. This means that I can connect to my Minecraft server with play.domain.com:port but it blocks connection from PublicIP:port and VPSIP:port

How can I set Valheim or other steam servers to act the same way? I tried checking/unchecking "Force Outgoing IP" in the Egg settings. No luck.

uneven pilot
#

Bump, still looking for any solutions

lime jasper
#

Is the A record for that subdomain pointing towards that wan ip?

uneven pilot
quaint aurora
#

You should have both A record and SRV record for this

#

Checked on google seems like Valheim don’t support this

uneven pilot
quaint aurora
#

How my bad I saw that wasn’t possible

#

Well then allocate the ports on the panel and then add srv and a record as you need them

uneven pilot
quaint aurora
#

Well you need to create youre own solution for this then

#

closed sources for this mostly

uneven pilot
#

It "technically works" I'm just trying to remove my public IP as the connection point the same way I do with Minecraft. Currently players can create servers using the front end, and the server will assign a port from my pool. It just requires they connect with my WAN and not the solution I've set up

#

I'm not sure if it's the EGG or how SteamCMD is installed that opens a connection strait to my WAN IP.

The only thing I can think of is that it's using some sort of tunnel to connect and bypassing my firewall as it shouldn't be able to connect to that port directly

quaint aurora
#

Not sure if it will help you but i use a reverse proxy to balance everything to my backend

#

everything is aimed to my proxy and then it proxy everything on the right ports