Mon 27 Nov 2006
Unblocking IPs with APF FirewallA) pico /etc/apf/deny_hosts.rulesFind where the IP is listed and remove the line that has the IP.
After this is done save the file and reload apf to make the new changes active.
After this is done save the file and reload apf to make the new changes active.
/etc/apf/apf -r
B) If the IP isn’t already listed in deny_hosts.rules and you wish to allow it, then,
/etc/apf/apf -a IP Reason
–> The -a flag means ALLOW the IP address
–> IP is the IP address you wish to allow
–> Reason is comments to why the IP is being unblocked
Example:
./apf -a 267.14.188.1 Reason
pico /etc/apf/allow_hosts.rules
# added 267.14.188.1 on 09/15/06 03:12:50
# UNBLOCKING
267.14.188.1
Leave a Reply
You must be logged in to post a comment.


















