It is assumed that you have already installed APF (Advanced policy firewall) on your cPanel dedicated web server. Once, APF is installed do the following:
Edit the antidos configuration file of APF with the command:
nano /etc/apf/ad/conf.antidos
Find the string LP_KLOG=”0″ and change it to LP_KLOG=”1″
Now, find for CONAME=”Your Company”
Enter your company name within quotes for example
CONAME=”SupportFacility.Com”
Now find for the string USR_ALERT=”0″ and change it to USR_ALERT=”1″
This is so that you can receive email alerts.
Now enter your email address here:
USR=”something@yourdomain.com”
Now you have to set it in cron for this give the following command:
crontab –e
*/5 * * * * root /etc/apf/ad/antidos -a >> /dev/null 2>&1
This will run antidos every five minutes.
AntiDOS Configuration in APF on cPanel web server
Posted by Mayur's BLOG
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment