PDA

View Full Version : Router Ports?


imported_MazX_Desert_Rat
11-05-2003, 12:15 AM
I have a Linksys router and can't get my server to show up or connect even though I have port 28960 open in forwarding. What else do I need to do? My software firewall is off too. Help?

HankScorpio
11-05-2003, 01:09 AM
You must also open ports 20500 and 20510. These are used for cd-key validation and browser listing respectively.

imported_MazX_Desert_Rat
11-05-2003, 07:11 AM
Ports have been opened, still nothing?

ClickBouyow
11-05-2003, 07:35 AM
DMZ the computer and see if that works. You may need to do port triggering as well.

imported_ultrAclAmm
11-05-2003, 09:17 AM
You must also open ports 20500 and 20510.

Hey clAmms...nice forum here.....those ports UDP or TCP?

TIA!

ultrAclAmm

Maverick
11-05-2003, 09:29 AM
Your server is probably trying to register itself with Activision/Gamespy using a private IP address (192.168.x.x, or 10.x.x.x range). I think that GS is smart enough not to display those addresses because they're technically unrouteable (you're not allowed to use one of the private addresses on a public network). I'm playing with the Linux server at home, but my linux box is also my router/firewall. First time I started it up it grabbed the private IP. I went back in changed the script to use the external IP and all was good. Unfortunately I don't think it's as simple as port forwarding from your router.

blasney
11-05-2003, 11:36 AM
Assuming your router does not filter out-bound trafic, the only port that needs to be opened in-bound (from the Internet to your enclave) is UDP 28960. Period.

TheKomoman
11-05-2003, 12:01 PM
Assuming your router does not filter out-bound trafic, the only port that needs to be opened in-bound (from the Internet to your enclave) is UDP 28960. Period.

That is absolutley correct. All other ports are OUTBOUND for your server to identify itself with Gamespy, Activision, etc. 28960 is all you need for folks to connect to your machine. The data is UDP, not TCP. So either set it to UDP or Both, whichever your router allows.

imported_MazX_Desert_Rat
11-05-2003, 06:19 PM
Where is the script that needs to have the IP added located?

imported_MazX_Desert_Rat
11-05-2003, 07:56 PM
I figured out the problem. It's a Gamespy issue involving the router. Triggering ports 6500-6700 corrected the problem. Bingo... the server shows in the browser now!

SgtD
11-06-2003, 02:39 PM
That's a pretty wide range of ports. No luck on narrowing it down?

imported_MazX_Desert_Rat
11-06-2003, 07:04 PM
6500 & 6700 I believe are what Linksys states are the ports needed to be opened. I just went by their example and haven't tweaked it anymore yet.

imported_Ich_Baboulen
11-11-2003, 05:59 AM
I have the same problem and am using a Zyxel 650R modem/router. Does these ports apply as well in my case (am not able to test it right now thats why am asking)

Here is the post i made in these forums (if you dont mind have a look and comment accordingly)

http://www.codadmin.com/nuke/modules.php?name=Forums&file=viewtopic&p=2337#2337

Thanks in advance

rudedog
11-11-2003, 07:12 AM
Activision's stats:

If you are using a hardware firewall or software such as ZoneAlarm® and you are experiencing problems, make sure your firewall or firewall software is set to allow UDP packets on port 28960. Call of Duty™ uses this port for connection, message of the day, server browsing, and so forth.

This also goes for a router. since the other two ports (you see in the console) phones home to Activision for their master server and cd authentication. Generates behind the firewall, those technically don't need to be forwarded. I was under the impression that gamespy queries Activision's master list and did not need to connect or scan your game server itself.

All the Q&As on Activision site point only to port 28960 unless your running more then one server then this port number is increased by one.

For more info on Activision's answers to port questions check out this page:

https://activision.custhelp.com/cgi-bin/activision.cfg/php/enduser/std_alp.php?p_sid=shBbi4Yg&p_lva=&p_li=&p_page=1&p_prod_lvl1=1&p_prod_lvl2=361&p_search_text=ports&p_new_search=1&p_search_type=3&p_sort_by=dflt

imported_Ronin
11-14-2003, 02:38 AM
Are you guys sure there's not another port I have to open? I've "installed" the game on a linux box and opened ports 28960 28961 20500 and 20510 in the firewall, and when I browse for the server (local, not Internet) when the firewall is on I can't find it but as soon as I turn it on it pops right up. Am I missing something?

Thanks in advance.

imported_Ronin
11-14-2003, 02:39 AM
I meant as soon as I turn it off it pops up, not on. Still early here, should go back to bed :smile:

rudedog
11-14-2003, 06:19 AM
When you start your server. check the console of the server to see what ports it's using.

Could be it's trying to start the game on another port.

also does your firewall block both incoming and outgoing ports? If so you may have to open the two ports the server uses to comunitcate back to activision.

20510 codmaster.activision.com
20500 codauthorize.activision.com

glnat
11-17-2003, 01:06 AM
im a total noob when it comes to routers but i have opened ports as described im running a dedicated server behind a router netgear814. i cant get my server to show up in gamespy no matter what i try to do in my router it is using my internal ip 192...etc i need some help to get this thing working . i can run server if i disconnect the router but thats not what i prefer to do since i run two computers in the house. :cry:

PoD
11-17-2003, 05:30 AM
Make sure you have the right ports and the right protocols enabled, see previous posts for that.

On your router you can do it in 2 ways,

either open up the specified ports for the right protocols through NAT and redirect those to the internal IP-address running your server. Make sure that the internal address is right, ie if you're using DHCP, and have not defined the ip-lease periods, you're server might come up with a different internal IP-address everytime you boot.

Or, configure a DMZ for the computer running the server

The first imo is to be preferred

Basically this should work for any router

Storm
11-17-2003, 09:35 AM
If it helps anyone, I am using a BFSr41 linkys router and was having some probelms getting the server to show up in the public list. I actually had to downgrade the routers firmware one version to get it to work. Frustrating to say the least!

Darkutopia
02-26-2004, 08:24 PM
How do you do this Prince of darkness:

either open up the specified ports for the right protocols through NAT and redirect those to the internal IP-address running your server. Make sure that the internal address is right, ie if you're using DHCP, and have not defined the ip-lease periods, you're server might come up with a different internal IP-address everytime you boot.

I have a wireless G Netgear router and when i create a server on my one computer it shows the ip of 192.168.0.4:28960

JTA
04-09-2004, 11:01 AM
Well I'm running a dedicated server behind a linksys router and it works fine. The only thing that I have set up in the router as far as the server goes is port range forwarding. This allows certain port #s to be pointed to the server computer's local IP address, as opposed to your external IP, which is what everyone else sees.
If you have a linksys router this ought to work. btw, mine is a BEFW11S4 wireless router.
CoD server ip: 24.233.57.135:28960

Eclipse
04-27-2004, 11:17 AM
Ok, this is my problem.
I want to run a public server on my 8192/1024 connection.
Now my problem is, nobody can find the server.
I have opened a few ports:

http://www.btt-clan.nl/private/router.jpg

And my XP firewall, and normal firewall are both turned off.
How can i get my server working?

Tanks...

Haggard
04-27-2004, 07:30 PM
I am having the same problem. I have a Linksys BEFW11S4 version 4. I was running the latest firmware of 1.50.10 wasn't working on that; downgraded to 1.45.7 still doesn't work. I have forwarded the proper ports along with forwarding all ports 1-65000 to my machine; statically assigned an IP on the server machine; set my machine in the DMZ; tried port triggering; People can see my server in the list but when they goto connect it hangs at "Awaiting Gamestate" I can connect to my server internally, but nobody externally can connect.

Anyone have any ideas?

holden
04-28-2004, 06:44 PM
I have encountered the same issue with a couple of friends.
One of them had a a Linksys BEFW11S4. For the life of me I could not get the server up. Further sniffing found that they were not functioning on UDP. This is very peculiar because I know other people with similar linksys models that work like a charm. I set up both of my friends with new routers. I gave one a Netopia Cayman router and it worked with no problems. I gave the other a Cisco 800 soho series router and it worked (of course! its freakin Cisco).

The same linksys routers would not properly route udp packets over wan when negortiating xboxGW connections on linux. TCP no problem but not UDP. And I haven't got a clue why.

Anyway, I share your pain. You may just want to try a different router other than linksys.

And yes I do know that Linksys is owned by Cisco but I would pick my Cisco 1751 Access Modular Router over any linksys model any day!!!!!!! Just in the same way that GM makes Buicks and Cadillacs. I would go with a Escalade vs a skylark any day!

Sniff around see what you find.

Good Luck!
Later.

Haggard
04-28-2004, 07:01 PM
After further investigation since I just got DSL installed and I am running DSL and Cable Modem at my house for a few days. I discovered this.

DSL hooked up to router; server running on DSL line.

Main Game PC running on cable; no router.

Started my server up; joined to it over my cable modem line; and thats it. It would only allow one person to join into the server. Anyone else would get hung at "Awaiting Gamestate"

I guess the linksys router has no idea on routing packets back out to people. Oh well...Guess I will buy a DSL WIC for my Cisco 3600 series router and use that.

Froschi
05-02-2004, 03:26 AM
Hi,

I like to run a COD Server behind a Netgear WGT624 router. Therefore I opend the special ports (port forwarding).

With MOHAA its no problem: My server is shown in the GAMESPY serverlist. But COD does not work: The server is not shown in the serverlist?

Have I to use special commands in the Server.CFG ?

:smile:

SNT
05-06-2004, 04:03 PM
Hi I Have A Problem With The Same Router(BEFW11S4)I Get The first screen That says Loading Call Of Duty (Little Box In Middle of screen) But Then The Game Crashes I Then Get The Send Error Report Thing. What do I Do? Upgrade firmware?

OldDog
06-16-2004, 10:25 AM
With the lower-end (consumer-level) firewalls and routers, you have to get creative with port mapping, due to the fact that these firewalls have limits on the numbers of rules you can actually have.

My setup is on a cable provider, and I have one of the consumer-level firewalls that works quite well, a Netgear FR114W (its also has a slot for a wireless NIC). I have 3 rules for CoD, and my server is visible to GameSpy, ActiVision, and ASE, as well as my LAN. The rules are:

1. Allow Any - 27900 - UDP - only to the game server's internal address (192.168.0.3)
2. Allow Any - 20500-20510 - UDP - 192.168.0.3e
3. Allow Any - 28900-28970 - UDP - 192.168.0.3

I have also set up static reservations (in DHCP) for my entire LAN. This is key because you don't want DHCP in your router/firewall to change the address of the gameserver when a lease expires. Static reservations also aid in assigning specific rules to specific LAN hosts (for example, I have 2 sons who I occasionally want to restrict certain access...like downloading massive files when players are on the server).

Most of these low-end firewalls don't use NAT (network address translation), but use PAT (port address translation), and, as such, all you need do is to assign ports (as above) to a reserved IP address, ensuring that your server ALSO has a statically assigned IP address.

If you want to spend more money, and have a REAL firewall, with NAT, unlimited rules, etc., then I recommend one of the low-end Cisco routers running IOS-based firewall, or, my favorite, is the Netscreen-5XP (or GT). The latter runs around $500+, the former...well, Cisco *is* expensive.

-OldDog[/list]

OldDog
06-16-2004, 11:32 AM
I apologize (in advance) if I'm insulting anyone, but I thought that a further description of Port Address Translation (PAT) might be needed. Its quite simple: basically, the consumer-level firewalls/routers will accept traffic on specific ports (see my previous post for what ports) and forward to a specific IP address inside the firewall. This is as opposed to NAT (network address translation) which maps an *outside* IP address directly to an inside, then the rules (or policies, depending upon your firewall) are applied to the *outside* address, and permit traffic only if the rules' criteria is met. Most DSL and cable setups supply only one *outside* IP address (by outside, I mean routable on the internet), and, unless you've spent a few bucks on static ip address ranges, you will only have one IP address for the world to see. Now, if you have a LAN with other, internal addresses, in your location, and only a single outside address, then you must use PAT to enable specific ports to specific internal addresses.

Sorry to be so long-winded, and I hope this is clear.

-OldDog

flanster
11-26-2004, 09:29 PM
I cannot get my server to be seen in the internet list. The server works ok, as if I give my mates my external ip they connect fine, it just dosnt show in the internet list. HELP HELP, I am so frustrated by this.

See my posts on this in the thread

http://www.codadmin.com/nuke/modules.php?name=Forums&file=viewtopic&t=3432


Thanks