Iptables module missing!

raamee

Active Member
Mar 18, 2011
42
0
56
Hi,

I was running csf and everything was fine. Now, I just did recent update using easy apache. After then my vps behaving weird and I wasn't able to access my sites. Then I consulted my hosting company and they found csf causing this problem and they disabled it. When I enable csf, I cant access my sites. I run this command,

Code:
/etc/csf/csftest.pl
Code:
Testing ip_tables/iptable_filter...OK
Testing ipt_LOG...OK
Testing ipt_multiport/xt_multiport...OK
Testing ipt_REJECT...OK
Testing ipt_state/xt_state...FAILED [FATAL Error: iptables: Unknown error 4294967295] - Required for csf to function
Testing ipt_limit/xt_limit...OK
Testing ipt_recent...OK
Testing ipt_owner/xt_owner...FAILED [Error: iptables: Unknown error 4294967295] - Required for SMTP_BLOCK and UID/GID blocking features
Testing iptable_nat/ipt_REDIRECT...FAILED [Error: iptables v1.3.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)] - Required for MESSENGER feature

RESULT: csf will not function on this server due to FATAL errors from missing modules [1]
There are so many errors. I need to add the missing modules to enable the csf. How to add iptables modules? Right now I have disabled csf. Please help. Thanks.
 

raamee

Active Member
Mar 18, 2011
42
0
56
Yes, its a VPS.

Code:
modprobe ipt_state
FATAL: Could not load /lib/modules/2.6.18-238.5.1.el5.028stab085.3/modules.dep: No such file or directory
[email protected] [~]# modprobe ipt_owner
FATAL: Could not load /lib/modules/2.6.18-238.5.1.el5.028stab085.3/modules.dep: No such file or directory
 

LinuxTechie

Well-Known Member
Jan 22, 2011
502
14
68
cPanel Access Level
Root Administrator
Hello,

You need to execute the above given commands from the Node and not from the vps. If you do not have access to Node, contact your host regarding this.
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
OpenVZ or Virtuozzo your provider needs to set up the Iptables modules
since it was working before it appears the have made changes to the hardware node
 

raamee

Active Member
Mar 18, 2011
42
0
56
Oh.. Its openvz. So you are asking to contact provider to make it rectify? Thanks for the help.
 

raamee

Active Member
Mar 18, 2011
42
0
56
Thanks for your help dalem. I have contacted my provider and they solved it. Thanks.