Raised This Month: $ Target: $400
 0% 

Server wrong public IP to steam & Not in server browser


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Party Parrot
New Member
Join Date: May 2024
Old 05-25-2024 , 11:33   Server wrong public IP to steam & Not in server browser
Reply With Quote #1

My servers are set up like this:


TF2 Client (player) -> Tunnel server -> Game server
This masks the game server's IP.

Let's say the Tunnel Server's ip is tt.ttt.ttt.ttt and the game server's ip is gg.ggg.ggg.ggg

I can connect to the game server using the tunnel server's IP just fine (tt.ttt.ttt.ttt).
I cannot connect to the game server using gg.ggg.ggg.ggg, this is intended. I have not opened ports on this network.

However, the Game Server reports the server as:
Code:
Connection to Steam servers successful.
   Public IP to Steam is gg.ggg.ggg.ggg
And
Code:
https://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=gg.ggg.ggg.ggg&format=json
reports my servers as running, while
Code:
https://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=tt.ttt.ttt.ttt&format=json
does not report my servers as running.

This is because my game server reports its own public IP to steam.

Adding
Code:
+net_public_adr tt.ttt.ttt.ttt
or
Code:
+net_public_addr tt.ttt.ttt.ttt
doesn't seem to have an effect.
If I change
Code:
 +ip 0.0.0.0`
to
Code:
+ip tt.ttt.ttt.ttt
, I get this fatal error:

Code:
WARNING: NNET_OpenSocket: bind: Cannot assign requested address
FATAL ERROR: Couldn't allocate any server IP port
My startup command is this:
Code:
./srcds_run -game tf -console -port {{SERVER_PORT}} +map {{SRCDS_MAP}} +ip 0.0.0.0 -strictportbind -norestart +sv_setsteamaccount {{STEAM_ACC}}
How do I change it so that my game server reports the tunnel server's IP to steam, instead of the game server?
Party Parrot is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode