SRCDS Steam group


Need help with iptables / csf
#1
Hi

I'm using as a firewall csf but am having trouble running the servers
About for CSF (FIREWALL) --> http://www.configserver.com/cp/csf.html

I unlocked this door and got no success!

My config for csf is
Code:
# Allow incoming TCP ports
TCP_IN = "20,21,<mysshport>,26901:26906,27039,27040:27041"

# Allow outgoing TCP ports
TCP_OUT = "20,21,<mysshport>,26901:26906,27036,27040:27041"

# Allow incoming UDP ports
UDP_IN = "20,21,53,1200,3784,27000:27015,27016,27020:27021,27040:27041,29000,26901:26905"

# Allow outgoing UDP ports
# To allow outgoing traceroute add 33434:33523 to this list
UDP_OUT = "20,21,53,1200,3784,27000:27015,27016,27020:27021,27040:27041,29000,26901:26905"


what should I still unlock the server to work?

For him to slap on this and not come online.
Quote:...
Searching for game type [Counter-Strike: Source]
Found gametypes for Counter-Strike: Source
Linux game binary @ ./cstrike/bin/server.so
Linux engine binary @ ./bin/engine.so
L 06/08/2011 - 11:14:32: [bestroundsoud.smx] Not all sound files exists.
L 06/08/2011 - 11:14:32: [bestroundsoud.smx] Unload the Plugin.
[SourceBans] Loading configs/sourcebans.cfg config file
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient.dll. Continuing with current version anyway.


When I disconnect the csf so he clears iptables rules on the server starts normally

Please help-me!

Thanks!
Reply
#2
I would not block any outgoing UDP ports. UDP is stateless, and if connection tracking does not work because the kernel does not know the protocol (which is the case for game servers) any reply packages will be recognized as new connections by the firewall. And you never know from which port a request was originating, so you cannot open those ports specifically!

I don't see any error (related) message on your console log. Is there actually something different at server console with firewall disabled and enabled?
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)