Unable to load iptables module (ipt_state), aborting. APF Error

April 24, 2008 | In: APF, Linux

root@server[/etc/apf]# apf -s
Unable to load iptables module (ipt_state), aborting.
root@server[/etc/apf]#

Here is the fix

Edit /etc/apf/internals/functions.apf

vi /etc/apf/internals/functions.apf

Replace the lines

====================
ml ipt_state 1
ml ipt_multiport 1
====================

With

====================
ml xt_state
ml xt_multiport
====================

Restart apf.

Comment Form