I’m trying to set up a dedicated TF2 server (primarily for LAN use) on my openSUSE box, and I’m running into some issues with the firewall. Basically, if I disable the firewall, everything works fine. When I re-enable it, the server can’t be found, even though I’ve opened the necessary ports in YaST->Firewall->Allowed Services. I have a feeling it’s because the broadcast is being blocked, but I can’t for the life of me figure out how to un-block it.
So pardon my ignorance, but by TF2 do we refer to a Team fortress 2 server by chance? I found a short writeup if true here: Linux dedicated server - TF2 Wiki and indicates you need to open ports 27000-27015 and so I wonder just what ports have been opened?
So, things are never as simple as they seem. If a Windows server can do it, a Linux one should be able to do better. Perhaps you could use a sniffer program to determine what ports are really being used? You did not mention your openSUSE setup? Why not tell us more about openSUSE including kernel version, memory and so forth as it could be important I think.
This is with openSUSE 12.1 using Tumbleweed, so it should be up-to-date. This is the first time I’ve done any firewall configuring, so as far as that’s concerned it should be the same as the default install. Memory and hardware shouldn’t be an issue because it works fine without the firewall.
Kernel version 3.1.10-1.16-desktop.
I will add that YaST’s interface for opening ports is not very self-explanatory, especially with the distinction between “internal zone,” “external zone,” and “demilitarized zone.” I first tried opening up the ports in Custom Rules, then went to Allowed Services, which seems to be more accepted.