Tearing my hair out with this one!
To check that Iptables is actually installed, on my Centos 5 VPS, I run this, and it looks like it is:
To check if iptables is actually running, I run the following, but get an error:
rpm -q iptables
And quite correctly, there isn't a "/proc/modules" folder. Am I running the wrong command?
lsmod | grep ip_tables
Opening /proc/modules: No such file or directory
To add the modules to iptables, I added the following entry to my /etc/sysconfig/iptables-config and rebooted the server:
It doesn't seem to have worked. What is the correct way to add modules to Iptables?
IPTABLES_MODULES="ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp ip_conntrack_ftp ipt_conntrack ip_tables ip_conntrack_netbios_ns"