UT2K4 Server cannot be added to GameTracker.com

Discussions about everything else
Mister J
Novice
Posts: 5
Joined: Wed Oct 16, 2024 10:20 am

UT2K4 Server cannot be added to GameTracker.com

Post by Mister J »

Hi all,

I successfully run 4 game servers (latest versions of Urban Terror, Unreal Tournament 2004, Xonotic & Warsow) that I can connect to with a client from the LAN and WAN by ip.

Since I changed server OS from ClearOS to initially NethServer 7, I am having problems getting listed.
Because someone advised me to solve this problem the easiest way, I changed to the Hypervisor Proxmox and now I am running the game servers in Debian 12 based containers with a dedicated OPNsense firewall box.
Because I do not encounter this problem with UT2K4 I must assume that it's not something simple like a problem with portforwarding, because those are identical.

But with the Urban Terror, Xonotic & Warsow it's only possible to connect from the Internet by ip address and not with the in-game- or online listings.
I already tried every trick in the book that I could find, but nothing works with these 3 games.
https://arena.sh and https://www.urbanterror.info also reports that the servers are unreachable.

The only problem I have with UT2K4 is that I can't figure out how to add my server to GameTracker.com.
For unknow reasons it reports that one of the following criteria is true:
  • Server is not online
  • Entered the wrong Query Port
  • Server is firewalled
When running these game servers on a ClearOS box in gateway mode I did not have any of these problems.
Could it have something to do with a setting in OPNsense ... ?!?

Please advice,

Mister J.
You do not have the required permissions to view the files attached to this post.
noccer
Adept
Posts: 374
Joined: Sun Aug 01, 2010 12:15 pm
Personal rank: Proud Terrorist

Re: UT2K4 Server cannot be added to GameTracker.com

Post by noccer »

I had the same problem some days ago with ut2004, maybe this could help yout.

Open servers UT2004.ini and find

Code: Select all

[IpDrv.MasterServerUplink]
DoUplink=True     <<<--- This makes servers uplink to masterservers in IpDrv.MasterServerLink section
UplinkToGamespy=True  <<--- The entry you need!  If this is set to false, this must be True
SendStats=True
ServerBehindNAT=False
DoLANBroadcast=True
bIgnoreUTANBans=False
Yes, gamespy is down, but it seems "UplinkToGameSpy=True" opens the server query port needed for gametracker to query (which is join port + 10).
This has also nothing to do with the used masterserver which is another entry like this

Code: Select all

[IpDrv.MasterServerLink]
LANPort=11777
LANServerPort=10777
MasterServerList=(Address="ut2004master.errorist.eu",Port=28902)
MasterServerList=(Address="ut2004master.333networks.com",Port=28902)
MasterServerList=(Address="utmaster.openspy.com",Port=28902)
If that has anything to do with opnsense, no exact idea. Are the ports open? Do you run multiple servers on same ports? Like Urban Terror and UT2004 on port 7777 ?
Image

>>You can't steal any ip (v4)adresses, there are exactly 4294967296 of them, and they will still exist when you wrote down all of them, or are stored in a (master)servers database ;)<<
Mister J
Novice
Posts: 5
Joined: Wed Oct 16, 2024 10:20 am

Re: UT2K4 Server cannot be added to GameTracker.com

Post by Mister J »

Thanks for your response and tips noccer,

I had UplinkToGamespy=False and changed it to True

I also removed this and replaced it by yours, because epic is dead anyway:
MasterServerList=(Address="ut2004master1.epicgames.com",Port=28902)
MasterServerList=(Address="ut2004master2.epicgames.com",Port=28902)

The ports are open and I am able to connect to my UT2K4 server from the in game listing and IP addresses from the LAN & WAN.
I currently run 4 game servers but on different ports.

But none the less I am sad to report that this all still didn't solve the problem of not being able to add my UT2K4 server to GameTracker.

Thanks anyway and please advice.
You do not have the required permissions to view the files attached to this post.
Mister J
Novice
Posts: 5
Joined: Wed Oct 16, 2024 10:20 am

Re: UT2K4 Server cannot be added to GameTracker.com

Post by Mister J »

[root@UT2K4 ~]# ss -tuln | grep -E '7777|7778|7787|10777|28902'
udp UNCONN 0 0 192.168.100.142:7777 0.0.0.0:*
udp UNCONN 0 0 192.168.100.142:7778 0.0.0.0:*
udp UNCONN 0 0 192.168.100.142:7787 0.0.0.0:*
udp UNCONN 0 0 192.168.100.142:10777 0.0.0.0:*
udp UNCONN 0 0 192.168.100.142:28902 0.0.0.0:*



[root@UT2K4 ~]# nmap -sU -p 7777,7778,7787,10777,28902 192.168.100.142
Starting Nmap 7.93 ( https://nmap.org ) at 2024-10-20 23:47 UTC
Nmap scan report for UT2K4.<domain>.nl (192.168.100.142)
Host is up.

PORT STATE SERVICE
7777/udp open|filtered cbt
7778/udp open|filtered interwise
7787/udp open|filtered popup-reminders
10777/udp open|filtered unknown
28902/udp open|filtered unknown

Nmap done: 1 IP address (1 host up) scanned in 3.14 seconds



[root@UT2K4 ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT 0 -- 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
ACCEPT 17 -- 0.0.0.0/0 192.168.100.142 udp dpt:7777
ACCEPT 17 -- 0.0.0.0/0 192.168.100.142 udp dpt:7778
ACCEPT 17 -- 0.0.0.0/0 192.168.100.142 udp dpt:7787
ACCEPT 17 -- 0.0.0.0/0 192.168.100.142 udp dpt:10777
ACCEPT 17 -- 0.0.0.0/0 192.168.100.142 udp dpt:28902
DROP 0 -- 0.0.0.0/0 0.0.0.0/0

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT 17 -- 192.168.100.142 0.0.0.0/0 udp dpt:7777
ACCEPT 17 -- 192.168.100.142 0.0.0.0/0 udp dpt:7787
ACCEPT 17 -- 192.168.100.142 0.0.0.0/0 udp dpt:28902

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


Please advice.
noccer
Adept
Posts: 374
Joined: Sun Aug 01, 2010 12:15 pm
Personal rank: Proud Terrorist

Re: UT2K4 Server cannot be added to GameTracker.com

Post by noccer »

maybe forward 7778, which seems to be not?

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT 17 -- 192.168.100.142 0.0.0.0/0 udp dpt:7777
ACCEPT 17 -- 192.168.100.142 0.0.0.0/0 udp dpt:7787
ACCEPT 17 -- 192.168.100.142 0.0.0.0/0 udp dpt:28902
Image

>>You can't steal any ip (v4)adresses, there are exactly 4294967296 of them, and they will still exist when you wrote down all of them, or are stored in a (master)servers database ;)<<
Mister J
Novice
Posts: 5
Joined: Wed Oct 16, 2024 10:20 am

Re: UT2K4 Server cannot be added to GameTracker.com

Post by Mister J »

Thanks for responding noccer,

That was the first thing I thought too, but that didn't solve the problem.
Adding FORWARD rules for port 10777 (LANServerPort) and 7778 didn't work.
These port rules where not created originally by the game server so I changed it back the way it was.

At first the INPUT destinations where set to 0.0.0.0/0, but because that didn't solve the problem and could be a security risk, I changed that to the LAN ip address.
The DROP rule at the end I added myself too, because no other communication is required for that container, but I changed that after I confirmed that this was not the solution for my issues.
Same goes for the "RELATED,ESTABLISHED" rule. I added that because it makes sure that the connections stay intact once they are made.

I also posted this problem in the Proxmox- and OPNsense forum, but there I get no response at all.
The OPNsense firewall logs are practically empty, so I can't troubleshoot that.
This is a new problem that I didn't have when I ran a ClearOS box as gateway.

Please advice.
Mister J
Novice
Posts: 5
Joined: Wed Oct 16, 2024 10:20 am

Re: UT2K4 Server cannot be added to GameTracker.com

Post by Mister J »

Is there maybe a problem with the UT2K4 server why GameTracker can connect to it, but it does not respond to GameTracker ... ?!?

Re: Game servers not listed and are unreachable for master servers

Is there maybe a var that I should set in UT2004.ini, like QueryPort= ... ?!?

I assumed that the QueryPort is the GamePort + 10
User avatar
papercoffee
Godlike
Posts: 10513
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.

Re: UT2K4 Server cannot be added to GameTracker.com

Post by papercoffee »

Since this thread has nothing to do with UT99 I moved it to off-topic.

=MOVED=