Remove ALL rules from APF

From brokenpoet.org wiki

This one-liner will remove ALL rules from APF:

for i in $(cat /etc/apf/deny_hosts.rules |awk '!/#/'|awk '/[0-9]/'); do apf -u $i ; done
Personal tools