Tag Archives: apf

apf fix: unable to load iptables module (ip_tables)

While working with APF on servers, you might normally get to see the following error, # apf -r apf(2042): {glob} flushing & zeroing chain policies apf(2042): {glob} firewall offline apf(3179): {glob} activating firewall apf(3284): {glob} unable to load iptables module (ip_tables), aborting. apf(3179): {glob} firewall initalized apf(3179): {glob} fast load snapshot saved Your kernel is [...]

iptables: Memory allocation problem

Unable to block ips using iptables on your VPS? Is your APF installation failing to work? root@server [~]# iptables -I INPUT -s 123.123.123.123 -j DROP iptables: Memory allocation problem Resolution: If you’re using OpenVZ for virtualization, you might have exceeded the limit of ‘numiptent’ parameter value. You may check if there are non-zero failcounts for [...]