SRCDS Steam group


iptables problem using custom kernel on centos5
#1
i seem to be running into a problem with iptables when i compile my own kernel on centos5.

first off, i know i am using iptables correctly, because it works as it should when i am on the default centos kernel which I believe is 2.6.18.

when i compile my custom kernel, i copy the config from /boot/config-2.6.18...etc and then make the performance changes to the kernel config. i do not disable anything under network options > netfilter, that is all left how it is in the default kernel config.

i've tried this on probably half a dozen boxes, and various kernel versions, all with the same results. i am almost blaming centos because i don't know what else it could be.

anyways, this is what happens...

same rules...
on default kernel: ssh, ftp, game servers all go online correctly and allow normal operation

on custom kernel: ssh works, but ftp and game servers do not. when i attempt to start the game server it just sits idle at "Executing dedicated server config file" or something like that. it's almost like the custom kernel does not listen to the iptables rules. it's quite obvious the firewall is working because it doesn't allow anything to function properly, or icmp (ping) requests, but it just doesn't listen to the rules i give it (the same rules used on the default kernel with success)

i am experimenting with different distros locally, such as debian, fedora etc, but i thought i would see if anyone knows a solution to this so i wouldn't have to switch my box to another distro.
thank you
Reply
#2
(11-06-2009, 03:34 PM)fluke1 Wrote:  when i attempt to start the game server it just sits idle at "Executing dedicated server config file" or something like that.

what does this have to do with iptables? If iptables is blocking the server port(s) they should run nevertheless in the usual way, only nobody will be able to connect it...

different kernel versions might have slightly different options for the iptables stuff. make sure that everything regarding iptables is enabled as a module. it's in "networking support" / "networking options" / "Network packet filtering framework (Netfilter)" and then both "Core Netfilter Configuration" and "IP: Netfilter Configuration". Everything in the two sections should be marked with an "M" except those "(EXPERIMENTAL)" things... (use the "*" only for options that cannot have the "M")
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
#3
it has to do with iptables because when iptables is running the game server will not start, but when i disable iptables the game server will start.

but it only does that on the custom kernel, not default
Reply
#4
thnk you sir! i put every option as a module and it is now working Smile
Reply
#5
you'r welcome :-)
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)