A Step By Step Guide On How To Setup A Firewall To Protect A New Dedi Server.






by Lincoln Vinson


This guide will show how to manage firewalls for server hosting. This guide will help you, if you tend to run your dedicated server in an automated fashion. Follow the steps to find out how you can handle multiple profiles in server hosting (for general issues and others). It is up to you whether you want to run them manually or on a scheduled basis.

First task is to launch the dedicated server from the Dedicated Server profile. Now configure it the way you want and start server hosting.

If don't want your security measures left weak, you need to install and enable BFD after setting up a firewall for on your dedicated hosting solution. Brute Force Detection (BFD) runs scripts to parse applicable logs to check for authenticity failure. APF (Advanced Policy Firewall) is one of the best firewalls out there. APF provides a policy based iptable for configuration. It also features a subset for both experienced and beginners.

Whatever your server environments are it does not matter, because APF comes in all formats. You will need root SSH access to your server. Log in to your root user from su through SSH. Extract the packages in your temporary folder. Begin installation by double-clicking the installer. You will receive a confirmation message. Now that installation is done its time to configure the firewall. First let us look at some general information's. This guide does not contain every detail the APF has. If you require additional information check the README file and the configuration file. Use the 'block' list from 'Dshield.org' to acquire a list of networks with suspicious activity. You need to use the 'common ingress' and 'common egress' commands in your Cpanel Server. These commands should be compatible with Ensim Servers too, although that's not guaranteed. Start the firewall after saving all settings. After launch you can check to see if everything's ok by trying some actions like flush, restart, list, allow host, deny host etc. After confirming that everything is alright change the DEV. Go to cron and stop the firewall from clearing itself every 5 minutes. We recommend that you keep this value to zero for now after you have tested the dedicated server. Once you have saved all your changes restart the firewall. You can select the firewall to start at boot time automatically by executing the command from README.

APF recently added the AntiDOS feature, which can be accessed from logs. There are various things you might like to play around with here including the alerts by email feature. This one might come of good use. You should frequently check the logs to see which hosts have been allowed or denied from your dedicated server. If you need to block hosts you can start doing that now. If you have the latest version of APF you can block comments as well. Use the d flag before the IP address to block them.

Now you have a secure firewall for your server hosting.




About the Author: