APF Firewall Issue

dennyslee

New member
Joined
Sep 27, 2009
Messages
1
Hi guys,


I'm newbie with apf firewall. recently i got issue one of my server ip address was block in other server and its block by apf.

internals/.apf.restore:-A TDENY -s 125.163.176.50 -j DROP

i can remove this list using apf -u command but the problem is when i restarted apf firewall ip address back listed on the internals/.apf.restore folder.

I really need your help, how to removed this permanently from the list, i try removed using iptable command and saved it but after apf firewall service restart ip address back listed again.


really appriciated if you can help me to remove from the list permanently.


Thanks
 
It has been awhile since I have used apf but if I remember correctly you need to remove the IP from the apf ban\block list. If you use IP Tables apf will just add it back in.

Then add your ip to '/etc/apf/allow_hosts.rules' file.

Then restart apf
 
Back
Top