• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux Quake 4 Dedicated Server Port issues. Need Help

Muscles

Senior member
My cable provider is Brighthouse 15mpbs downstream and 2 mbps upstream. The router I'm using is the Dlink DI-624.

I'm trying to host a Quake 4 Dedicated server on my linux machine and I'm having trouble getting it to use the default Q4 port of 28004 over the WAN. When the server is up, clients on the LAN behind the router can connect to the dedicated server fine by specifying the internal ip address (192.168.0.100) on the default port of 28004. However, clients trying to connect from the internet see my dedicated linux server on my internet ip address which is right but the default port isn't the same as the port that is being used to connect on the LAN. Quake 4 seems to be randomly choosing a different port clients on the internet have to use to connect to the server. What do I have to do on the router so that Quake 4 uses the default port of 28004 over the WAN like it knows to do on the LAN?

The way I've been using port forwarding is:
1. Advanced Tab -> Virtual Server
2. Name: Quake4
Private ip: 192.168.0.100 (internal ip of linux box)
Protocol Type: Both (although Q4 only uses UDP however setting it do UDP only makes no difference)
Private Port: 28004
Public Port: 28004
Schedule: Always

Apparently I must be doing something wrong or I'm missing something somewhere else in the router settings because clients connecting from the net are using a port I haven't even manually opened (62040). It doesn't make any sense. Can anyone help shed some light? Any help is really appreciated.
 
I say the port in my original post however it's not always the same. 62040. So far it's always been in the 6000 range.

I want clients to be able to add my servers ip address to their game browser and them be able to see it. Right now if they try adding my ip address and the default port that it's supposed to be using (example: 248.15.30.60:28004) the server won't show up and they cannot connect to it. Basically me port forwarding the port Quake 4 is supposed to be using is completely pointless. Once I start the server, I have to ask one of my friends on the net to find my server in the in-game browser and connect to it to tell me what port Quake 4 is using over the internet. Then I have to go log back into my router and add the new port so clients can add it to their game browser to ping/see it and connect. It's not making any sense to me. What can I do to fix this?
 
Quake 4 server admins shouldn't have to do all this investigating to find out wtf port Quake 4 is using over the internet. If I specify Quake 4 to use the default port then it should be using it not just behind the router but on the net. Something is ass backwards and I want to know what it is.
 
Well the port may be getting changed when the server reports itself?

I've never taken a look at it though. I just though it ran on an open UDP port...forward port and you're done.
 
Back
Top