UT2004, Guarddog/iptables, and LAN games - ??
I'm trying to set up Unreal Tournament 2004 on my computer, for LAN games. I have it installed and set up; local games work fine. I've opened up ports 7777-7778/udp and 7787/udp (I've left the TCP Web admin port, configurable in the upper 20,000's, closed as I don't use it), and I can do LAN games via direct-to-IP (ie. I type in my own IP address in the appropriate field).
Just to confuse things, by the way, I'm testing LAN games by running the UT server and client programs both on this same machine; I don't have regular admin access to any other machines capable of running UT 2004. This leads to a lot of VT-switching, but I'd think it should work... I'm using the Guarddog GUI frontend to iptables. When I use Guarddog to disable the firewall, I can see my own game in the list of LAN games. When I re-enable the firewall, though, I can't see it; I can still connect to it by typing in my own IP address, but this is kinda annoying... I'm guessing that the problem has something to do with broadcast packets, but I don't know what to do beyond that. Anyone have any suggestions? Just for fun, I'm having the same problem with UT2003 and UT:GOTY (the original Unreal Tournament). I'm guessing it's the same problem; if it's not, any thoughts there? These are a lower priority for me than is UT2004, though. |
An additional socket may be used for that broadcast. When the game server is running, try using netstat to see what ports the game server process is using: both listening and connected on.
|
I haven't really used netstat before, so I'm not sure if I'm using it correctly. Here's my output:
Code:
me$ sudo netstat -pv --protocol=inet Code:
me$ sudo netstat -pvl --protocol=inet This is while running UT original, incidentally; running two clients for UT 2004 made my PC too unusable (I broke the "Dedicated Server" gui button somehow and I haven't bothered to figure out how, nor how to start the UT command-line server yet...). A game is being served, and one client is sitting at the "LAN Servers" screen looking for servers. It doesn't look to me like UT is broadcasting on any interesting ports, but it is listening on some ports that I wasn't expecting. I opened those ports (1024-1124/udp; UT seems to vary the port that it's listening on within that range), but it didn't help. EDIT: As you may notice, I have 3 IPs on this machine. There's one for each ethX interface installed. eth1 connects to the Internet through a large LAN. eth0 and eth2 (192.168.1.1 and 192.168.2.1) are both basically crossover cables to special devices that I don't want to bother putting on the LAN. |
Anyone have any ideas? Any pointers of where to look? I'm still a n00b at setting up a good firewall; if you think there's something really obvious that I must have tried already, I probably haven't.
|
All times are GMT -5. The time now is 02:13 PM. |