MarcusJClifford 1 Posted October 17, 2002 I will start by saying I have searched and found some answers, but still have a few questions, hence this post. I have posted previously on this topic See Also Avon's Info on ports Question 1. What ports, UDP and TCP, do I have to open on my firewall to allow me to use the in game browser and connect to servers on the Internet. Answer 1 (from search) - UDP Ports 2302 and 2303 are required for socket play. - If using DirectPlay then you need TCP 47624, 6073, 2300-2400, 2234 UDP 2300-2400 However, my firewall log shows lots of DENY entries to a whole host of UDP ports int the range 2400->2500 these are broadcast sends to 255.255.255.255. There is also a send over TCP Port 28900 to 216.177.89.34 (master.gamespy.com) this is blocked by my firewall too. If I allow these ports, then I can get to the in game broswer and it finds games, but it is quite slow, normally it only takes about 5 seconds to refresh the list of games, but it takes about 20 seconds now. In the firewall log there are lots of UDP sends to lots of different IP addresses (I guess these are the servers) these requests are to lots of different UDP ports (I guess these are people who are running on non-default ports e.g. 6500) Can anyone add anything to this? Thanks in advance. Share this post Link to post Share on other sites
hoz 0 Posted October 17, 2002 I forward UDP 2302 - 2305 for both sockets and direct play. I use external VON (wilco) so I have ports fwd for that too. This works for me. Hoz Share this post Link to post Share on other sites
benu 1 Posted October 18, 2002 My Firewall showed the following entries for the linux server: Outgoing: UDP 2303 -> 27900 (Gamespy?) Outgoing: UDP 2302 -> 2304 (to Client) Incoming: UDP 2304 -> 2302 (from Client) Worked ok, played with some external players with no hassle. Although i must have one outgoing port nat'ed (i guess the 2303-27900 thingie which goes out once every 5 minutes) cause my players told me that my server appeared like 15 times in their gamebrowser, each one with higher than the one before Share this post Link to post Share on other sites
Cypress 0 Posted October 18, 2002 hmmm please help me im getting this error msg. www:/data/users/ofp # ./server 1:50:15 Dedicated server created Server creation failed : 2302 what is this .. some port on the linux not open ? or might be router ? Share this post Link to post Share on other sites
benu 1 Posted October 19, 2002 Check your logfiles or try running the server with strace and post the last lines here. Maybe the user running the server can't create sockets or some network stuff is not installed?!? Share this post Link to post Share on other sites
Placebo 29 Posted October 19, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Cypress @ Oct. 19 2002,00:52)</td></tr><tr><td id="QUOTE">hmmm please help me im getting this error msg. www:/data/users/ofp # ./server 1:50:15 Dedicated server created Server creation failed : 2302 what is this .. some port on the linux not open ? or might be router ?<span id='postcolor'> You did bother to try searching through the forum before posting right? Because it's surprising how close to your problem this thread is, yet you chose to ignore it, most odd. Share this post Link to post Share on other sites
benu 1 Posted October 19, 2002 Hmm, actually that thread you refer to (and the one TheBrain refers to from that one) deal with windows servers and have no real solution as far as i could see... OK, port seems to be in use, use netstat to check, reinstall network driver, reinstall windows.... most stuff there is not much help for linux (except maybe the netstat hint). Share this post Link to post Share on other sites
benu 1 Posted October 21, 2002 Lol, on 4 linux boxes it works, on a fifth it doesn't. Error message is the "Server creation failed : 2302". Using strace it seems that sendto doesn't work </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> sendto(-1, "\\heartbeat\\0\\gamename\\\\statechan"..., 37, 0, {sin_family=AF_UNSPEC, {sa_family=0, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = -1 EBADF (Bad file descriptor) <span id='postcolor'> Don't know why, though. The headers are there and the same as on all the boxes where it works... don't really know WHAT the "bad filedescriptor" is. If anyone has an idea how to fix this or where to look... Share this post Link to post Share on other sites
MarcusJClifford 1 Posted October 21, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (benu @ Oct. 21 2002,21:05)</td></tr><tr><td id="QUOTE">Lol, on 4 linux boxes it works, on a fifth it doesn't. Error message is the "Server creation failed : 2302". Using strace it seems that sendto doesn't work </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> sendto(-1, "\\heartbeat\\0\\gamename\\\\statechan"..., 37, 0, {sin_family=AF_UNSPEC, {sa_family=0, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = -1 EBADF (Bad file descriptor) <span id='postcolor'> Don't know why, though. The headers are there and the same as on all the boxes where it works... don't really know WHAT the "bad filedescriptor" is. If anyone has an idea how to fix this or where to look...<span id='postcolor'> Benu, I would suggest you repost this in Troubleshooting, as this thread was originally about ports on a firewall and so Linux people may not look at it as much as they would a new topic with that info. Share this post Link to post Share on other sites
benu 1 Posted October 21, 2002 I guess i'll do that. I posted it here cause placebo seemed to be the only besides me having this problem and it wanted to let him know what i did so we can maybe work together on this. But then again, a bigger "audience" may help better Share this post Link to post Share on other sites
RN Malboeuf 12 Posted October 21, 2002 my Net Gear Router is a simple router with a simple firewall I assigned 2200-2400 to my puters IP and every thing worked. I did notice that the FACE.PBO (has all those faces in it) do esnot get xfered, but the customface.jpg does, dunno why, as soon as I switched back to my custom face I was camo'd again Share this post Link to post Share on other sites
Placebo 29 Posted October 21, 2002 Everyone has face.pbo so it doesn't need to be transferred, right? Share this post Link to post Share on other sites
RN Malboeuf 12 Posted October 22, 2002 BE FORE 1.75, THE the face.pbo would send over the face you chose, now it does not, its not in the tmp folder, but that would explain why some ppl say they see face.pbo camo and others do not (they have the PBO them selves). either way I perfer the custom jpg, you slackers wont see my face in trees any more heh Share this post Link to post Share on other sites