/// How to insert an -IP- into firewall is given below :--
********************
Step 1--
first check which IP is hitting your site number of times by :-
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
********************
Step 2--
Then you can insert this IP into firewall by :-
apf - d ip
to allow an ip ;
foist remove the entry from deny_hosts.rules using pico command & then execute.
apf -a ip
********************
No comments:
Post a Comment