CSF Iptables Module Check – Check Iptables modules to run CSF Firewall
CSF iptables module Check – How to check whether Iptables has the required modules to run CSF firewall
Open a new web browser and type https://YourServerIP:2087 to access WHM. ‘YourServerIP’ should be replaced with the actual IP address of your server.
In the WHM login screen enter the username and root password to login.
2. Click on “ConfigServer Security & Firewall” under “Plugins”
In the WHM search bar type “ConfigServer Security” and click on “ConfigServer Security & Firewall”.
Home » Plugins » ConfigServer Security & Firewall

ConfigServer Firewall Plugin
3. Click on “Test Iptables” under “Extra”
This will check whether iptables has the required modules to run csf.

Test Iptables CSF

CSF iptables module test
On my server the required Iptables modules are installed and CSF will work without any issues.
METHOD 2 :
1. Log in to your linux server via SSH as root user
2. Run the command /usr/local/csf/bin/csftest.pl
The above command will check whether required iptables modules are enabled on the server.
[root@server2 ~]# /usr/local/csf/bin/csftest.pl
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…OK
Testing ipt_limit/xt_limit…OK
Testing ipt_recent…OK
Testing xt_connlimit…OK
Testing ipt_owner/xt_owner…OK
Testing iptable_nat/ipt_REDIRECT…OK
Testing iptable_nat/ipt_DNAT…OK
RESULT: csf should function on this server