To install APF firewall login to your server as root and follow this tutorial


cd /usr/src
tar -xvzf apf-current.tar.gz
rm -f apf-current.tar.gz
cd apf-*
cd /etc/apf
nano conf.apf

Configure the ports

# Common ingress (inbound) TCP ports

please note that ports 2082 to port 2095 is mostly used by cpanel, and port 19638 is only use in

# Common ingress (inbound) UDP ports

Exit nano and save and then restart apf

service apf start

If APF is functioning properly and you are not locked out edit the conf.apf again

nano conf.apf
Set the DEVM parameter to 0

Once done Exit and save the file.
CTRL-x, y to save enter to confirm
Restart APF
service apf restart

Facebook Comments

More Stuff

Google’s own data proves two-factor is the best defense against mo... Every once in a while someone will ask me what is the best security advice. The long answer is “it depends on your threat model,” which is just a fan...
Which vSphere CPU Scheduler to Choose The release of vSphere 6.7 Update 2 brought with it a new vSphere CPU scheduler option, the Side-Channel Aware Scheduler version 2 (SCAv2) or “Sibling...
Magento GDPR: 7 Steps to Protect your Store (and your Customers) After decades of loose online legislation and abstract digital data guidelines, the Wild Western days of the internet are ending. User privacy and ...
Let’s Talk AutoSSL- The Updates! One of the more popular topics talked about amongst the cPanel Community is AutoSSL, a tool that automatically installs domain-validated SSL cert...
Spread the love

Posted by News Monkey