UnixServerAdmin

Server Administration & Management

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

# cd /etc/apf/

# apf -s

Unable to load iptables module (ipt_state), aborting.

Here is the fix

# vim /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

# cd /etc/apf/

# apf -s

Advertisements

October 14, 2012 Posted by | Firewall | , | Leave a comment