<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dedicated Server Hosting &#187; Firewalls</title>
	<atom:link href="http://www.dedicatedserverhosting.com/category/firewalls/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dedicatedserverhosting.com</link>
	<description>Dedicated Server Hosting &#124; Information &#38; Articles on Dedicated Web Hosting</description>
	<lastBuildDate>Thu, 02 Sep 2010 20:39:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Enabling BFD on a Dedicated Server</title>
		<link>http://www.dedicatedserverhosting.com/2008/08/28/enabling-bfd-on-a-dedicated-server/</link>
		<comments>http://www.dedicatedserverhosting.com/2008/08/28/enabling-bfd-on-a-dedicated-server/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 12:27:31 +0000</pubDate>
		<dc:creator>Dedicated Diva</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Dedicated Web Hosting]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[IP Addresses]]></category>
		<category><![CDATA[Self-Managing]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[Shell Commands]]></category>
		<category><![CDATA[dedicated server tutorials]]></category>
		<category><![CDATA[apf firewall]]></category>
		<category><![CDATA[BFD]]></category>
		<category><![CDATA[brute force hacking]]></category>
		<category><![CDATA[brute force hacking protection]]></category>
		<category><![CDATA[dedicated server hosting]]></category>
		<category><![CDATA[dedicated server tutorial]]></category>
		<category><![CDATA[dedicated web server]]></category>
		<category><![CDATA[web hosting tutorial]]></category>

		<guid isPermaLink="false">http://www.dedicatedserverhosting.com/?p=263</guid>
		<description><![CDATA[After installing BFD on your dedicated server, you’ll want to configure and enable it out of test mode to get started protecting your server. 1. Edit the configuration file, which should be /usr/local/bfd/conf.bfd 2. Now we want to enable “brute force hack attempt alerts”. So first find ALERT_USR=“0” and change that to ALERT_USR=“1” which is [...]]]></description>
			<content:encoded><![CDATA[<p>After <a title="Install BFD on your Dedicated Server" href="http://www.dedicatedserverhosting.com/2008/08/27/install-bfd-on-a-dedicated-server" target="_blank">installing BFD on your dedicated server</a>, you’ll want to configure and enable it out of test mode to get started protecting your server.</p>
<p><strong>1. </strong>Edit the configuration file, which should be <em>/usr/local/bfd/conf.bfd</em></p>
<p><strong>2. </strong>Now we want to enable “brute force hack attempt alerts”. So first find <em>ALERT_USR=“0”</em> and change that to <em>ALERT_USR=“1”</em> which is ensuring that yes, you want alerts when there is a brute force hacking attempt.</p>
<p><strong>3. </strong>Where you want to send those alerts comes next! Find <em>EMAIL_USR=“root”</em> and change that to <em>EMAIL_USR=“emailaddresshere”</em><br />
<strong><br />
4. </strong><em>Ctrl+X</em> then <em>Y</em></p>
<p><strong>5. </strong>But wait…if you are disallowing everyone from accessing your SSH, doesn’t that mean you can’t get in either? Yep, so let’s prevent that. <em>pico –w /usr/local/bfd/ignore.hosts</em> and add your own IP(s). <em>Ctrl+X</em> then <em>Y</em>.</p>
<p>Now you can run BFD by entering <em>/usr/local/sbin/bfd –s</em></p>
<p>There are also ways to customize the configurations, but as these vary there’s no standard editing to describe! So you’re all set! Your <a title="Dedicated web server" href="http://www.lpdedicated.com" target="_blank">dedicated web server</a> is now ready to alert you to any brute force hacking attempts.<br />
<h3>More Dedicated Web Hosting Help!</h3>
<ul class="related_post">
<li><a href="http://www.dedicatedserverhosting.com/2008/08/27/install-bfd-on-a-dedicated-server/" title="Install BFD on a Dedicated Server">Install BFD on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/08/26/what-is-bfd/" title="What is BFD?">What is BFD?</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/08/22/banning-ip-addresses-from-your-dedicated-server-with-apf/" title="Banning IP Addresses from your Dedicated Server with APF">Banning IP Addresses from your Dedicated Server with APF</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/10/09/professional-wordpress-plugins-for-advanced-webmasters/" title="Professional WordPress Plugins for Advanced Webmasters">Professional WordPress Plugins for Advanced Webmasters</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/07/28/three-amazing-server-monitoring-tools/" title="Three Amazing Server Monitoring Tools">Three Amazing Server Monitoring Tools</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/12/managing-crontab-using-plesk/" title="Managing Crontab Using Plesk">Managing Crontab Using Plesk</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/06/accessing-phpmyadmin-and-mysql-with-plesk/" title="Accessing phpMyAdmin and MySQL with Plesk">Accessing phpMyAdmin and MySQL with Plesk</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/22/setting-up-private-nameservers-on-your-dedicated-server-part-2-of-2/" title="Setting Up Private Nameservers on Your Dedicated Server (Part 2 of 2)">Setting Up Private Nameservers on Your Dedicated Server (Part 2 of 2)</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/21/setting-up-private-nameservers-on-your-dedicated-server-part-1-of-2/" title="Setting up Private Nameservers on Your Dedicated Server (Part 1 of 2)">Setting up Private Nameservers on Your Dedicated Server (Part 1 of 2)</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/08/helpful-dedicated-server-terminology/" title="Helpful Dedicated Server Terminology">Helpful Dedicated Server Terminology</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dedicatedserverhosting.com/2008/08/28/enabling-bfd-on-a-dedicated-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install BFD on a Dedicated Server</title>
		<link>http://www.dedicatedserverhosting.com/2008/08/27/install-bfd-on-a-dedicated-server/</link>
		<comments>http://www.dedicatedserverhosting.com/2008/08/27/install-bfd-on-a-dedicated-server/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 12:16:51 +0000</pubDate>
		<dc:creator>Dedicated Diva</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Dedicated Web Hosting]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Self-Managing]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[Shell Commands]]></category>
		<category><![CDATA[dedicated server tutorials]]></category>
		<category><![CDATA[APF]]></category>
		<category><![CDATA[apf security]]></category>
		<category><![CDATA[BFD]]></category>
		<category><![CDATA[brute force detection]]></category>
		<category><![CDATA[dedicated server hosting]]></category>
		<category><![CDATA[dedicated server security]]></category>
		<category><![CDATA[dedicated server tutorial]]></category>
		<category><![CDATA[reliable dedicated hosting]]></category>
		<category><![CDATA[ssh tutorial]]></category>
		<category><![CDATA[web hosting tutorial]]></category>

		<guid isPermaLink="false">http://www.dedicatedserverhosting.com/?p=257</guid>
		<description><![CDATA[Lately, we have been talking a lot about dedicated server security. It is a huge issue for most webmasters, because security on any internet sphere is never absolute. There will always be hackers and spammers looking to bring your machine down, so the more you do to fight them, the better your chances are that [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, we have been talking a lot about dedicated server security. It is a huge issue for most webmasters, because security on any internet sphere is never absolute. There will always be hackers and spammers looking to bring your machine down, so the more you do to fight them, the better your chances are that you will deter them from further attacks.</p>
<p>First, find yourself a <a title="Reliable Dedicated Server Host" href="http://www.lpdedicated.com" target="_blank">reliable dedicated server host</a> that you can call or email for technical support. Second, <a title="Install APF firewall on your dedicated server" href="http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/" target="_blank">install APF firewall on your dedicated server</a> to manage your level of server protection. Third, you’ll want to implement security features like installing BFD to check for brute force hack attempts.</p>
<p>Installing <a title="What is BFD" href="http://www.dedicatedserverhosting.com/2008/08/26/what-is-bfd/" target="_blank">BFD</a> is the first step of this two part tutorial. Make sure you already have APF firewall installed or this won’t work!</p>
<p><strong>1. </strong>Login to the root and <em>cd root/downloads</em> (AKA: wherever you store your files).</p>
<p><strong>2. </strong>Use the SSH command of <em>wget </em>as follows:<br />
<em>wget http://www.rfxnetworks.com/downloads/bfd-current.tar.gz</em></p>
<p><strong>3. </strong>Use the SSH command of <em>tar </em>as follows:<br />
<em>tar –xvzf bfd-current.tar.gz</em></p>
<p><strong>4. </strong>Use the SSH command of <em>cd </em>as follows:<br />
<em>cd bfd-0.7</em></p>
<p><strong>5. </strong>Run the <em>./install.sh</em> file. Once this is complete, you’ll receive the following message that alerts to you a proper installation:</p>
<p><em>.: BFD installed<br />
Install path: /usr/local/bfd<br />
Config path: /usr/local/bfd/conf.bfd<br />
Executable path: /usr/local/sbin/bfd</em></p>
<p>The next step of Enabling BFD to enable blocking of brute force attacks will be covered in an additional tutorial.<br />
<h3>More Dedicated Web Hosting Help!</h3>
<ul class="related_post">
<li><a href="http://www.dedicatedserverhosting.com/2008/08/26/what-is-bfd/" title="What is BFD?">What is BFD?</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/08/22/banning-ip-addresses-from-your-dedicated-server-with-apf/" title="Banning IP Addresses from your Dedicated Server with APF">Banning IP Addresses from your Dedicated Server with APF</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/08/28/enabling-bfd-on-a-dedicated-server/" title="Enabling BFD on a Dedicated Server">Enabling BFD on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/22/setting-up-private-nameservers-on-your-dedicated-server-part-2-of-2/" title="Setting Up Private Nameservers on Your Dedicated Server (Part 2 of 2)">Setting Up Private Nameservers on Your Dedicated Server (Part 2 of 2)</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/" title="Installing APF on a Dedicated Server">Installing APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/25/rootkit-detection-tools/" title="Rootkit Detection Tools">Rootkit Detection Tools</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/24/what-is-a-rootkit/" title="What is a Rootkit?">What is a Rootkit?</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/18/blocking-an-ip-address-on-your-dedicated-server/" title="Blocking an IP Address on Your Dedicated Server">Blocking an IP Address on Your Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/12/managing-crontab-using-plesk/" title="Managing Crontab Using Plesk">Managing Crontab Using Plesk</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/06/accessing-phpmyadmin-and-mysql-with-plesk/" title="Accessing phpMyAdmin and MySQL with Plesk">Accessing phpMyAdmin and MySQL with Plesk</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dedicatedserverhosting.com/2008/08/27/install-bfd-on-a-dedicated-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is BFD?</title>
		<link>http://www.dedicatedserverhosting.com/2008/08/26/what-is-bfd/</link>
		<comments>http://www.dedicatedserverhosting.com/2008/08/26/what-is-bfd/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 12:02:16 +0000</pubDate>
		<dc:creator>Dedicated Diva</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Dedicated Web Hosting]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Linux Hosting]]></category>
		<category><![CDATA[SSH tools]]></category>
		<category><![CDATA[Self-Managing]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[APF]]></category>
		<category><![CDATA[apf firewall]]></category>
		<category><![CDATA[apf security]]></category>
		<category><![CDATA[BFD]]></category>
		<category><![CDATA[brute force detection]]></category>
		<category><![CDATA[dedicated server hosting]]></category>
		<category><![CDATA[linux server]]></category>
		<category><![CDATA[linux tools]]></category>
		<category><![CDATA[SSH script]]></category>

		<guid isPermaLink="false">http://www.dedicatedserverhosting.com/?p=259</guid>
		<description><![CDATA[BFD stands for Brute Force Detection and is an SSH script you can use to parse applicable logs to check for authentication failure. Basically, BFD adds another layer of security to your dedicated server, ensuring that you will be aware of any brute force attacks that try to take down your machine. BFD works in [...]]]></description>
			<content:encoded><![CDATA[<p>BFD stands for Brute Force Detection and is an SSH script you can use to parse applicable logs to check for authentication failure. Basically, BFD adds another layer of security to your <a title="Dedicated Server" href="http://www.lpdedicated.com" target="_blank">dedicated server</a>, ensuring that you will be aware of any brute force attacks that try to take down your machine.</p>
<p>BFD works in conjunction with <a title="APF Firewall" href="http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/" target="_blank">APF Firewall</a> and is very straightforward in its installation and configuration, like most Linux server tools.</p>
<p>You can download BFD at <a href="http://www.rfxnetworks.com/bfd.php" target="_blank">http://www.rfxnetworks.com/bfd.php</a>. It is one of the most popular Linux server downloads in the world, so you know it’s a great tool for all your server hosting needs!<br />
<h3>More Dedicated Web Hosting Help!</h3>
<ul class="related_post">
<li><a href="http://www.dedicatedserverhosting.com/2008/08/27/install-bfd-on-a-dedicated-server/" title="Install BFD on a Dedicated Server">Install BFD on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/04/using-apf-on-a-dedicated-server/" title="Using APF on a Dedicated Server">Using APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/02/configuring-apf-on-a-dedicated-server/" title="Configuring APF on a Dedicated Server">Configuring APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/08/28/enabling-bfd-on-a-dedicated-server/" title="Enabling BFD on a Dedicated Server">Enabling BFD on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/08/22/banning-ip-addresses-from-your-dedicated-server-with-apf/" title="Banning IP Addresses from your Dedicated Server with APF">Banning IP Addresses from your Dedicated Server with APF</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/08/12/benefits-of-anonymous-domain-registration/" title="Benefits of Anonymous Domain Registration">Benefits of Anonymous Domain Registration</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/03/starting-apf-on-a-dedicated-server/" title="Starting APF on a Dedicated Server">Starting APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/03/configuring-antidos-on-a-dedicated-server-for-apf/" title="Configuring AntiDOS on a Dedicated Server for APF">Configuring AntiDOS on a Dedicated Server for APF</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/" title="Installing APF on a Dedicated Server">Installing APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/10/07/professional-wordpress-plugins-for-newbies/" title="Professional WordPress Plugins for Newbies">Professional WordPress Plugins for Newbies</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dedicatedserverhosting.com/2008/08/26/what-is-bfd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Banning IP Addresses from your Dedicated Server with APF</title>
		<link>http://www.dedicatedserverhosting.com/2008/08/22/banning-ip-addresses-from-your-dedicated-server-with-apf/</link>
		<comments>http://www.dedicatedserverhosting.com/2008/08/22/banning-ip-addresses-from-your-dedicated-server-with-apf/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 18:16:41 +0000</pubDate>
		<dc:creator>Dedicated Diva</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Dedicated Web Hosting]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[IP Addresses]]></category>
		<category><![CDATA[Self-Managing]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[Shell Commands]]></category>
		<category><![CDATA[dedicated server tutorials]]></category>
		<category><![CDATA[apf ip blocking]]></category>
		<category><![CDATA[apf security]]></category>
		<category><![CDATA[dedicated server hosting]]></category>
		<category><![CDATA[dedicated server tutorial]]></category>
		<category><![CDATA[IP address]]></category>
		<category><![CDATA[ip blocking]]></category>
		<category><![CDATA[ssh tutorial]]></category>
		<category><![CDATA[web hosting tutorial]]></category>

		<guid isPermaLink="false">http://www.dedicatedserverhosting.com/?p=255</guid>
		<description><![CDATA[Every dedicated server hosting client will experience some kind of user-initiated attack. It’s simply all too common for you to think it’ll never happen to you, so the best thing to do is be prepared. To start, choose a reliable dedicated web host to handle your server. Second, install APF on your dedicated server to [...]]]></description>
			<content:encoded><![CDATA[<p>Every <a title="Dedicated Server Hosting" href="http://www.dedicatedserverhosting.com" target="_blank">dedicated server hosting</a> client will experience some kind of user-initiated attack. It’s simply all too common for you to think it’ll never happen to you, so the best thing to do is be prepared.</p>
<p>To start, choose a <a title="Reliable Dedicated Web Host" href="http://www.lpdedicated.com" target="_blank">reliable dedicated web host</a> to handle your server. Second, <a title="Install APF on your Dedicated Server" href="http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/" target="_blank">install APF on your dedicated server</a> to prevent and stall most of the attacker that will try to hammer it. And thirdly, you should learn how to ban a specific IP Address from reaching your server. This last little trick can be a lifesaver, and can actually be setup in as little as 4 simple steps! Once you’ve verified the IP you want to block:</p>
<p><strong>1. </strong>Login to your server to the root.</p>
<p><strong>2. </strong>With APF Firewall installed, you simply need to enter <em>apf –d &lt;ip&gt;</em></p>
<p><strong>3. </strong>By default, rebooting resets all your IP bans, but that’s why we recommend APF for your dedicated server firewall protection – with APF, there is an easy workaround. Simply open the deny hosts file. Scroll to the bottom and paste in the IP address you want to ban. <em>Ctrl+X then Y</em> will help you save so you can exit and keep these settings for default.</p>
<p><strong>4. </strong>Now, just restart your APF and you’re set!<br />
<h3>More Dedicated Web Hosting Help!</h3>
<ul class="related_post">
<li><a href="http://www.dedicatedserverhosting.com/2008/08/27/install-bfd-on-a-dedicated-server/" title="Install BFD on a Dedicated Server">Install BFD on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/22/setting-up-private-nameservers-on-your-dedicated-server-part-2-of-2/" title="Setting Up Private Nameservers on Your Dedicated Server (Part 2 of 2)">Setting Up Private Nameservers on Your Dedicated Server (Part 2 of 2)</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/08/28/enabling-bfd-on-a-dedicated-server/" title="Enabling BFD on a Dedicated Server">Enabling BFD on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/08/26/what-is-bfd/" title="What is BFD?">What is BFD?</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/18/blocking-an-ip-address-on-your-dedicated-server/" title="Blocking an IP Address on Your Dedicated Server">Blocking an IP Address on Your Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/12/managing-crontab-using-plesk/" title="Managing Crontab Using Plesk">Managing Crontab Using Plesk</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/06/accessing-phpmyadmin-and-mysql-with-plesk/" title="Accessing phpMyAdmin and MySQL with Plesk">Accessing phpMyAdmin and MySQL with Plesk</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/21/setting-up-private-nameservers-on-your-dedicated-server-part-1-of-2/" title="Setting up Private Nameservers on Your Dedicated Server (Part 1 of 2)">Setting up Private Nameservers on Your Dedicated Server (Part 1 of 2)</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/08/helpful-dedicated-server-terminology/" title="Helpful Dedicated Server Terminology">Helpful Dedicated Server Terminology</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/" title="Installing APF on a Dedicated Server">Installing APF on a Dedicated Server</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dedicatedserverhosting.com/2008/08/22/banning-ip-addresses-from-your-dedicated-server-with-apf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using APF on a Dedicated Server</title>
		<link>http://www.dedicatedserverhosting.com/2008/04/04/using-apf-on-a-dedicated-server/</link>
		<comments>http://www.dedicatedserverhosting.com/2008/04/04/using-apf-on-a-dedicated-server/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 16:41:24 +0000</pubDate>
		<dc:creator>Dedicated Diva</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Costs & Fees]]></category>
		<category><![CDATA[DDOS Protection]]></category>
		<category><![CDATA[Dedicated Technical Support]]></category>
		<category><![CDATA[Dedicated Web Hosting]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Managed Hosting]]></category>
		<category><![CDATA[SSH tools]]></category>
		<category><![CDATA[Self-Managing]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[Shell Commands]]></category>
		<category><![CDATA[APF]]></category>
		<category><![CDATA[dedicated hosting]]></category>
		<category><![CDATA[dedicated hosting tutorials]]></category>
		<category><![CDATA[dedicated server hosting]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[web hosting tutorials]]></category>

		<guid isPermaLink="false">http://www.dedicatedserverhosting.com/?p=128</guid>
		<description><![CDATA[You should have a look at the first 4 parts of this tutorial series on installing, configuring, and running APF (Advanced Policy Firewall) on a Dedicated Server before proceeding here, just to be sure your dedicated server is setup correctly with APF configurations. Here is a quick list to roundup these tutorials on dedicated web [...]]]></description>
			<content:encoded><![CDATA[<p>You should have a look at the first 4 parts of this tutorial series on installing, configuring, and running APF (Advanced Policy Firewall) on a Dedicated Server before proceeding here, just to be sure your dedicated server is setup correctly with APF configurations. Here is a quick list to roundup these tutorials on <a title="Dedicated Web Hosting" href="http://www.lpdedicated.com" target="_blank">dedicated web hosting</a> and APF setup:</p>
<p><strong>1. <a title="Installing APF on a Dedicated Server" href="http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/" target="_blank">Installing APF on a Dedicated Server</a></strong><br />
<strong><br />
2. <a title="Configuring APF on a Dedicated Server" href="http://www.dedicatedserverhosting.com/2008/04/02/configuring-apf-on-a-dedicated-server/" target="_blank">Configuring APF on a Dedicated Server</a></strong></p>
<p><strong>3. <a title="Configuring AntiDOS on a Dedicated Server for APF" href="http://www.dedicatedserverhosting.com/2008/04/02/configuring-apf-on-a-dedicated-server/" target="_blank">Configuring AntiDOS on a Dedicated Server for APF</a> (optional)</strong></p>
<p><strong>4. <a title="Starting APF on a Dedicated Server" href="http://www.dedicatedserverhosting.com/2008/04/03/starting-apf-on-a-dedicated-server/" target="_blank">Starting APF on a Dedicated Server</a></strong></p>
<p>Now, here are some helpful commands for your Firewall Usage. With these codes and options, you can do nearly everything necessary to run APF, block IP addresses, flush the firewall, etc. Please review these APF codes below and keep them handy for future reference.</p>
<p><strong>Firewall Usage</strong></p>
<p>Usage <em>/usr/local/sbin/apf [OPTION]</em></p>
<p>OPTIONS are as below</p>
<p><em>-s|&#8211;start &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;. load firewall policies<br />
-r|&#8211;restart &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. flush &amp; load firewall<br />
-f|&#8211;flush|&#8211;stop &#8230;&#8230;&#8230;&#8230;&#8230;&#8230; flush firewall<br />
-l|&#8211;list &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. list chain rules<br />
-st|&#8211;status &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. firewall status<br />
-a HOST CMT|&#8211;allow HOST COMMENT &#8230; add host (IP/FQDN) to allow_hosts.rules and                                     immediately load new rule into firewall<br />
-d HOST CMT|&#8211;deny HOST COMMENT &#8230;. add host (IP/FQDN) to deny_hosts.rules and immediately load new rule into firewall</em></p>
<p>As an example, if you would like to deny an IP from accessing your sites, execute,</p>
<p><em><strong>apf -d 123.123.123.123</strong></em></p>
<p>Hopefully this tutorial series for APF on a Dedicated Server has been extremely helpful to you, but if you’re ever stuck, contact your dedicated web hosting provider and ask for Managed Hosting solutions.<br />
<h3>More Dedicated Web Hosting Help!</h3>
<ul class="related_post">
<li><a href="http://www.dedicatedserverhosting.com/2008/04/03/starting-apf-on-a-dedicated-server/" title="Starting APF on a Dedicated Server">Starting APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/02/configuring-apf-on-a-dedicated-server/" title="Configuring APF on a Dedicated Server">Configuring APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/03/configuring-antidos-on-a-dedicated-server-for-apf/" title="Configuring AntiDOS on a Dedicated Server for APF">Configuring AntiDOS on a Dedicated Server for APF</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/07/backing-up-mysql-databases-automatically-on-a-dedicated-server/" title="Backing up MySQL Databases Automatically on a Dedicated Server">Backing up MySQL Databases Automatically on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/04/backing-up-your-website-database-on-a-dedicated-server/" title="Backing up Your Website &#038; Database on a Dedicated Server">Backing up Your Website &#038; Database on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/13/email-marketing-on-a-dedicated-server/" title="Email Marketing on a Dedicated Server">Email Marketing on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/09/email-forwarding-on-your-dedicated-server/" title="Email Forwarding on Your Dedicated Server">Email Forwarding on Your Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/" title="Installing APF on a Dedicated Server">Installing APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/08/26/what-is-bfd/" title="What is BFD?">What is BFD?</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/13/monitoring-site-resources-and-stats-in-plesk/" title="Monitoring Site Resources and Stats in Plesk">Monitoring Site Resources and Stats in Plesk</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dedicatedserverhosting.com/2008/04/04/using-apf-on-a-dedicated-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting APF on a Dedicated Server</title>
		<link>http://www.dedicatedserverhosting.com/2008/04/03/starting-apf-on-a-dedicated-server/</link>
		<comments>http://www.dedicatedserverhosting.com/2008/04/03/starting-apf-on-a-dedicated-server/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 16:52:40 +0000</pubDate>
		<dc:creator>Dedicated Diva</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Costs & Fees]]></category>
		<category><![CDATA[DDOS Protection]]></category>
		<category><![CDATA[Dedicated Technical Support]]></category>
		<category><![CDATA[Dedicated Web Hosting]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Managed Hosting]]></category>
		<category><![CDATA[SSH tools]]></category>
		<category><![CDATA[Self-Managing]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[Shell Commands]]></category>
		<category><![CDATA[APF]]></category>
		<category><![CDATA[dedicated hosting]]></category>
		<category><![CDATA[dedicated hosting tutorials]]></category>
		<category><![CDATA[dedicated server hosting]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[lunarpages]]></category>
		<category><![CDATA[self managed hosting]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[web hosting tutorials]]></category>

		<guid isPermaLink="false">http://www.dedicatedserverhosting.com/?p=127</guid>
		<description><![CDATA[After you have successfully installed and configured APF (Advanced Policy Firewall) on your dedicated server, you can optionally configure AntiDOS for DOS protection. Once done, you will need to start and run APF on your server, and below, you will find the steps necessary to do so. Starting APF on Your Web Server 1. Edit [...]]]></description>
			<content:encoded><![CDATA[<p>After you have successfully installed and configured APF (Advanced Policy Firewall) on your <a title="Dedicated Server" href="http://www.dedicatedserverhosting.com" target="_blank">dedicated server</a>, you can optionally configure AntiDOS for DOS protection. Once done, you will need to start and run APF on your server, and below, you will find the steps necessary to do so.</p>
<p><strong>Starting APF on Your Web Server</strong></p>
<p>1. Edit <em>/etc/apf/allow_hosts.rules</em> and enter your IP (not a mandatory step, but will avoid being locked out of the server)</p>
<p>2. Start the firewall by executing the command <strong><em>apf -s</em></strong></p>
<p>You should then see,</p>
<p><strong>Development mode enabled!; firewall will flush every 5 minutes.</strong></p>
<p>Now try to access all the services, including mail, ssh, and websites.</p>
<p>3. If you are able to access all the services, then open up <em>/etc/apf/conf.apf</em>, change the <span style="color: #800000;">DEVEL_MODE=&#8221;1&#8243;</span> to read <span style="color: #008000;">DEVEL_MODE=&#8221;0&#8243;</span></p>
<p>Then simply restart the firewall by executing <em><strong>apf –r</strong></em> and you should be done!</p>
<p>4. As a last step, you should execute the command <strong><em>&#8220;chkconfig &#8211;list apf&#8221;</em></strong> and confirm whether you see a similar entry like</p>
<p><strong>apf             0: off   1: off   2: off   3: on    4: on    5: on    6: off</strong></p>
<p>You should see it, exactly similar to above, but in case it is not like that, execute <em><strong>chkconfig &#8211;level 345 apf on</strong></em></p>
<p>Congratulations, you have successfully installed APF! If these tutorials were over your head or you feel you may have done something erroneously, you ought to purchase <a title="Managed Hosting" href="http://www.lpdedicated.com" target="_blank">Managed Hosting</a> from Lunarpages, as they can offer APF installation completely free with your Managed Hosting purchase.<br />
<h3>More Dedicated Web Hosting Help!</h3>
<ul class="related_post">
<li><a href="http://www.dedicatedserverhosting.com/2008/04/03/configuring-antidos-on-a-dedicated-server-for-apf/" title="Configuring AntiDOS on a Dedicated Server for APF">Configuring AntiDOS on a Dedicated Server for APF</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/04/using-apf-on-a-dedicated-server/" title="Using APF on a Dedicated Server">Using APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/07/backing-up-mysql-databases-automatically-on-a-dedicated-server/" title="Backing up MySQL Databases Automatically on a Dedicated Server">Backing up MySQL Databases Automatically on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/04/backing-up-your-website-database-on-a-dedicated-server/" title="Backing up Your Website &#038; Database on a Dedicated Server">Backing up Your Website &#038; Database on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/02/configuring-apf-on-a-dedicated-server/" title="Configuring APF on a Dedicated Server">Configuring APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/09/email-forwarding-on-your-dedicated-server/" title="Email Forwarding on Your Dedicated Server">Email Forwarding on Your Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/13/email-marketing-on-a-dedicated-server/" title="Email Marketing on a Dedicated Server">Email Marketing on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/" title="Installing APF on a Dedicated Server">Installing APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2010/07/07/what-is-a-self-managed-dedicated-server/" title="What is a Self Managed Dedicated Server?">What is a Self Managed Dedicated Server?</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/07/28/three-amazing-server-monitoring-tools/" title="Three Amazing Server Monitoring Tools">Three Amazing Server Monitoring Tools</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dedicatedserverhosting.com/2008/04/03/starting-apf-on-a-dedicated-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring AntiDOS on a Dedicated Server for APF</title>
		<link>http://www.dedicatedserverhosting.com/2008/04/03/configuring-antidos-on-a-dedicated-server-for-apf/</link>
		<comments>http://www.dedicatedserverhosting.com/2008/04/03/configuring-antidos-on-a-dedicated-server-for-apf/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 16:41:28 +0000</pubDate>
		<dc:creator>Dedicated Diva</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Costs & Fees]]></category>
		<category><![CDATA[Coupons]]></category>
		<category><![CDATA[DDOS Protection]]></category>
		<category><![CDATA[Dedicated Technical Support]]></category>
		<category><![CDATA[Dedicated Web Hosting]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Managed Hosting]]></category>
		<category><![CDATA[SSH tools]]></category>
		<category><![CDATA[Self-Managing]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[Shell Commands]]></category>
		<category><![CDATA[APF]]></category>
		<category><![CDATA[dedicated hosting]]></category>
		<category><![CDATA[dedicated hosting coupons]]></category>
		<category><![CDATA[dedicated hosting tutorials]]></category>
		<category><![CDATA[dedicated server hosting]]></category>
		<category><![CDATA[DOS attacks]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[hosting tutorials]]></category>
		<category><![CDATA[lunarpages]]></category>
		<category><![CDATA[self managed hosting]]></category>
		<category><![CDATA[server protection]]></category>
		<category><![CDATA[web hosting coupons]]></category>

		<guid isPermaLink="false">http://www.dedicatedserverhosting.com/?p=126</guid>
		<description><![CDATA[Please refer to our earlier tutorials on Installing APF on a Dedicated Server and Configuring APF on a Dedicated Server. If you do not wish to setup anti-DOS on your server, you can skip this series in the tutorial and move onto Starting APF. Please note that this configuration is completely optional when setting up [...]]]></description>
			<content:encoded><![CDATA[<p>Please refer to our earlier tutorials on Installing APF on a Dedicated Server and Configuring APF on a Dedicated Server. If you do not wish to setup anti-DOS on your server, you can skip this series in the tutorial and move onto Starting APF.</p>
<p>Please note that this configuration is completely optional when setting up a <a title="Dedicated Web Hosting" href="http://www.lpdedicated.com" target="_blank">dedicated web hosting</a> server. While it can help protect your server and website from DOS attacks, there are also other ways to do this.</p>
<p><strong>AntiDOS Configuration</strong></p>
<p>1. Open up <em>/etc/apf/ad/conf.antidos</em></p>
<p>2. Change <span style="color: #800000;">LP_KLOG=&#8221;0&#8243;</span> to <span style="color: #008000;">LP_KLOG=&#8221;1&#8243;</span></p>
<p>3. CONAME=&#8221;Your Company&#8221;</p>
<p>Enter your company name within quotes similar to CONAME=&#8221;Lunarpages&#8221;</p>
<p>4. <span style="color: #800000;">USR_ALERT=&#8221;0&#8243;</span> to <span style="color: #008000;">USR_ALERT=&#8221;1&#8243;</span></p>
<p>Change it to <em>1</em> only if you wish to receive email alerts.</p>
<p>5. <span style="color: #008000;">USR=&#8221;you@yourco.com&#8221;</span></p>
<p>Enter your email address here similar to the entry made in step 3 (i.e in quotes).</p>
<p>6. Antidos is intended to operate via cron. This is a critical setup point as if not done, antidos will simply not operate.</p>
<p>Execute the command</p>
<p><em>crontab -e</em></p>
<p><strong>*/2 * * * * root /etc/apf/ad/antidos -a &gt;&gt; /dev/null 2&gt;&amp;1</strong></p>
<p>This will run antidos every two minutes.</p>
<p>If this sounds too confusing for you or you are unsure about managing your dedicated server, you should definitely look into Managed Hosting from Lunarpages, as they offer free APF installation with your purchase. Check out our <a title="Dedicated Hosting Coupons" href="http://www.dedicatedserverhosting.com/dedicated-server-hosting-discount-coupon-lunarpages/" target="_blank">Dedicated Hosting Coupons</a> page for more information on the latest deals from Lunarpages Dedicated Web Hosting.<br />
<h3>More Dedicated Web Hosting Help!</h3>
<ul class="related_post">
<li><a href="http://www.dedicatedserverhosting.com/2008/04/03/starting-apf-on-a-dedicated-server/" title="Starting APF on a Dedicated Server">Starting APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/04/using-apf-on-a-dedicated-server/" title="Using APF on a Dedicated Server">Using APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/02/configuring-apf-on-a-dedicated-server/" title="Configuring APF on a Dedicated Server">Configuring APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/07/backing-up-mysql-databases-automatically-on-a-dedicated-server/" title="Backing up MySQL Databases Automatically on a Dedicated Server">Backing up MySQL Databases Automatically on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/04/backing-up-your-website-database-on-a-dedicated-server/" title="Backing up Your Website &#038; Database on a Dedicated Server">Backing up Your Website &#038; Database on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/08/20/5-tips-to-save-money-on-dedicated-web-hosting/" title="5 Tips to Save Money on Dedicated Web Hosting">5 Tips to Save Money on Dedicated Web Hosting</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/05/best-dedicated-hosting-coupons/" title="Best Dedicated Hosting Coupons">Best Dedicated Hosting Coupons</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/09/email-forwarding-on-your-dedicated-server/" title="Email Forwarding on Your Dedicated Server">Email Forwarding on Your Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/" title="Installing APF on a Dedicated Server">Installing APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2010/07/07/what-is-a-self-managed-dedicated-server/" title="What is a Self Managed Dedicated Server?">What is a Self Managed Dedicated Server?</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dedicatedserverhosting.com/2008/04/03/configuring-antidos-on-a-dedicated-server-for-apf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring APF on a Dedicated Server</title>
		<link>http://www.dedicatedserverhosting.com/2008/04/02/configuring-apf-on-a-dedicated-server/</link>
		<comments>http://www.dedicatedserverhosting.com/2008/04/02/configuring-apf-on-a-dedicated-server/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 17:12:17 +0000</pubDate>
		<dc:creator>Dedicated Diva</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Costs & Fees]]></category>
		<category><![CDATA[Coupons]]></category>
		<category><![CDATA[DDOS Protection]]></category>
		<category><![CDATA[Dedicated Technical Support]]></category>
		<category><![CDATA[Dedicated Web Hosting]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Managed Hosting]]></category>
		<category><![CDATA[SSH tools]]></category>
		<category><![CDATA[Self-Managing]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[Shell Commands]]></category>
		<category><![CDATA[APF]]></category>
		<category><![CDATA[dedicated hosting]]></category>
		<category><![CDATA[dedicated hosting coupons]]></category>
		<category><![CDATA[dedicated hosting tutorials]]></category>
		<category><![CDATA[dedicated server hosting]]></category>
		<category><![CDATA[firewall protection]]></category>
		<category><![CDATA[hosting coupons]]></category>
		<category><![CDATA[hosting discounts]]></category>
		<category><![CDATA[server setup]]></category>
		<category><![CDATA[web hosting tutorials]]></category>

		<guid isPermaLink="false">http://www.dedicatedserverhosting.com/?p=125</guid>
		<description><![CDATA[So you have learned about Advanced Policy Firewall (APF) and how to install it on your dedicated server. However, there are a couple more steps to providing advanced firewall support for your dedicated web hosting account. This will help secure your dedicated server and assure your server’s safety. Remember, if you purchased Managed Hosting from [...]]]></description>
			<content:encoded><![CDATA[<p>So you have learned about Advanced Policy Firewall (APF) and how to install it on your dedicated server. However, there are a couple more steps to providing advanced firewall support for your <a title="Dedicated Web Hosting" href="http://www.lpdedicated.com" target="_blank">dedicated web hosting</a> account. This will help secure your dedicated server and assure your server’s safety.</p>
<p>Remember, if you purchased Managed Hosting from Lunarpages, they can install APF for you at no additional charge. There’s no coupon necessary for this promotion, but if you’re not yet signed up with our recommended dedicated host, check out our <a title="Dedicated Hosting Coupons" href="http://www.dedicatedserverhosting.com/dedicated-server-hosting-discount-coupon-lunarpages/" target="_blank">Dedicated Hosting Coupons</a> for information on how you can save a bundle on your dedicated server hosting purchase!</p>
<p><strong>Configuring APF (Advanced Policy Firewall)</strong></p>
<p><em>/etc/apf</em> is the configuration directory of APF and <em>conf.apf</em> is the main configuration file. So open up <em>conf.apf </em>in your favorite editor.</p>
<p><strong>1. Scroll down till you see</strong></p>
<p><span style="color: #993300;">IG_TCP_CPORTS=&#8221;22&#8243;</span></p>
<p>Tip: Pico -&gt; Ctrl+W and then keyword &#8211;&gt; Invokes search for keyword<br />
Vi &#8211;&gt; Esc and then /keyword &#8211;&gt; Invokes search for keyword<br />
emacs &#8211;&gt; Ctrl+s and then keyword &#8211;&gt; Invokes search for keyword</p>
<p>Change it to read</p>
<p>a) For a webmin server:</p>
<p><span style="color: #008000;">IG_TCP_CPORTS=&#8221;20,21,22,25,53,80,110,143,443,465,993,3306,10000,30000_35000&#8243; </span></p>
<p>b) For a Cpanel server :</p>
<p><span style="color: #008000;">IG_TCP_CPORTS=&#8221;20,21,22,25,53,80,110,143,443,465,993,995,2082,2083,2084,2086,2087,2095,2096,3306,10000,30000_35000&#8243;</span></p>
<p><strong>2. Change <span style="color: #800000;">IG_UDP_CPORTS=&#8221;"</span> to read</strong></p>
<p><span style="color: #008000;">IG_UDP_CPORTS=&#8221;21,53,465&#8243;</span></p>
<p><strong>3. <span style="color: #800000;">EGF=&#8221;0&#8243;</span> to <span style="color: #008000;">EGF=&#8221;1&#8243; # </span></strong></p>
<p>This filters outgoing connections also, though I recommend it even if it may sometimes cause issues.</p>
<p><strong>4. Change <span style="color: #800000;">EG_TCP_CPORTS=&#8221;21,25,80,443,43&#8243;</span> to read:</strong></p>
<p><span style="color: #008000;">EG_TCP_CPORTS=&#8221;21,22,25,37,53,80,110,113,443,465,43,873,2089,3306&#8243;</span></p>
<p><strong>5. Change <span style="color: #800000;">EG_UDP_CPORTS=&#8221;20,21,53&#8243;</span> to read</strong></p>
<p><span style="color: #008000;">EG_UDP_CPORTS=&#8221;20,21,53,465&#8243;</span></p>
<p><strong>6. Change <span style="color: #800000;">USE_DS=&#8221;0&#8243;</span> to <span style="color: #008000;">USE_DS=&#8221;1&#8243;</span></strong></p>
<p>APF makes use of dshield (DS), which is a little like spam blocklists such as spews and lists the most commonly abused networks and those most often used in denial of service attacks and similar.</p>
<p><strong>7. <span style="color: #800000;">USE_AD=&#8221;0&#8243;</span> to <span style="color: #008000;">USE_AD=&#8221;1&#8243;</span></strong></p>
<p>The <em>USE_AD=&#8221;1&#8243;</em> enables the Antidos Feature which is still in beta at the time of this writing. Readme says &#8220;Antidos is a log parsing script made for r-fx.org&#8217;s APF (advanced policy firewall). Its purpose is to parse specific log formats for network attacks against a given system; then it takes certain actions. It is designed to be modular so it can be removed from APF and used in other environments.&#8221;</p>
<p>You can now save the <em>conf.apf</em> and quit the editor. If you didn&#8217;t change the value of <em>USE_AD</em> to<em> 1</em>, you can skip our our web hosting turtorial on Configuring antiDOS and jump to the fourth one on Starting APF Firewall.<br />
<h3>More Dedicated Web Hosting Help!</h3>
<ul class="related_post">
<li><a href="http://www.dedicatedserverhosting.com/2008/04/04/using-apf-on-a-dedicated-server/" title="Using APF on a Dedicated Server">Using APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/03/starting-apf-on-a-dedicated-server/" title="Starting APF on a Dedicated Server">Starting APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/03/configuring-antidos-on-a-dedicated-server-for-apf/" title="Configuring AntiDOS on a Dedicated Server for APF">Configuring AntiDOS on a Dedicated Server for APF</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/07/backing-up-mysql-databases-automatically-on-a-dedicated-server/" title="Backing up MySQL Databases Automatically on a Dedicated Server">Backing up MySQL Databases Automatically on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/04/backing-up-your-website-database-on-a-dedicated-server/" title="Backing up Your Website &#038; Database on a Dedicated Server">Backing up Your Website &#038; Database on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/" title="Installing APF on a Dedicated Server">Installing APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/05/best-dedicated-hosting-coupons/" title="Best Dedicated Hosting Coupons">Best Dedicated Hosting Coupons</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/13/email-marketing-on-a-dedicated-server/" title="Email Marketing on a Dedicated Server">Email Marketing on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/09/email-forwarding-on-your-dedicated-server/" title="Email Forwarding on Your Dedicated Server">Email Forwarding on Your Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/08/26/what-is-bfd/" title="What is BFD?">What is BFD?</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dedicatedserverhosting.com/2008/04/02/configuring-apf-on-a-dedicated-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing APF on a Dedicated Server</title>
		<link>http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/</link>
		<comments>http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 16:51:09 +0000</pubDate>
		<dc:creator>Dedicated Diva</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Costs & Fees]]></category>
		<category><![CDATA[DDOS Protection]]></category>
		<category><![CDATA[Dedicated Technical Support]]></category>
		<category><![CDATA[Dedicated Web Hosting]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Managed Hosting]]></category>
		<category><![CDATA[SSH tools]]></category>
		<category><![CDATA[Self-Managing]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[Shell Commands]]></category>
		<category><![CDATA[APF]]></category>
		<category><![CDATA[dedicated hosting]]></category>
		<category><![CDATA[dedicated hosting tutorial]]></category>
		<category><![CDATA[dedicated server hosting]]></category>
		<category><![CDATA[firewall protection]]></category>
		<category><![CDATA[web hosting tutorial]]></category>

		<guid isPermaLink="false">http://www.dedicatedserverhosting.com/?p=124</guid>
		<description><![CDATA[Securing your dedicated server is an important part of any webmaster’s job. While services and features like Managed Hosting can assist in keeping your dedicated server safe, you will also need to turn on or install an advanced firewall to protect your machine. In dedicated web hosting, APF or Advanced Policy Firewall is one of [...]]]></description>
			<content:encoded><![CDATA[<p>Securing your dedicated server is an important part of any webmaster’s job. While services and features like <a title="Managed Hosting" href="http://www.dedicatedserverhosting.com/2008/02/02/managed-hosting/" target="_blank">Managed Hosting</a> can assist in keeping your dedicated server safe, you will also need to turn on or install an advanced firewall to protect your machine.</p>
<p>In <a title="Dedicated Web Hosting" href="http://www.lpdedicated.com" target="_blank">dedicated web hosting</a>, APF or Advanced Policy Firewall is one of the best solutions for assisting in securing your dedicated server. So what is APF?</p>
<p>APF (Advanced Policy Firewall) is a modular, policy based firewall system. As one of the easiest to configure, it helps you secure and protect your dedicated web server from attacks and threats. It is for Linux web hosting users and is simple enough for a novice or guru alike.</p>
<p>Here are the steps necessary to install APF on your <a title="Dedicated Server Hosting" href="http://www.dedicatedserverhosting.com" target="_blank">Dedicated Server Hosting</a> plan.</p>
<p><strong>1. Download and extract to /usr/local/downloads/ directory. Create it by executing the following command:</strong></p>
<p>mkdir -p /usr/local/downloads/<br />
cd /usr/local/downloads/<br />
wget http://www.rfxnetworks.com/downloads/apf-current.tar.gz</p>
<p>URL is http://www.rfxnetworks.com/downloads/apf-current.tar.gz</p>
<p><strong>2. Extract and install APF using the following code:</strong></p>
<p>cd /usr/local/downloads/<br />
tar xvzf apf-current.tar.gz</p>
<p>rm -f apf-current.tar.gz<br />
cd apf*<br />
./install.sh</p>
<p><strong>After installing APF on your dedicated server, you should then see the following code without any errors!</strong></p>
<p>Installation Details:<br />
Install path:         /etc/apf/<br />
Config path:          /etc/apf/conf.apf<br />
Executable path:      /usr/local/sbin/apf<br />
AntiDos install path: /etc/apf/ad/<br />
AntiDos config path:  /etc/apf/ad/conf.antidos<br />
DShield Client Parser:  /etc/apf/extras/dshield/</p>
<p>It’s actually incredibly simple, but if you get stuck, contact your web hosting provider and they can likely point you in the right direction via tutorials and online assistance. Our recommended best dedicated host, Lunarpages Web Hosting, will actually install APF for you for free if you have Managed Hosting with them, an amazing deal which can save you time and money.<br />
<h3>More Dedicated Web Hosting Help!</h3>
<ul class="related_post">
<li><a href="http://www.dedicatedserverhosting.com/2008/06/12/managing-crontab-using-plesk/" title="Managing Crontab Using Plesk">Managing Crontab Using Plesk</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/02/configuring-apf-on-a-dedicated-server/" title="Configuring APF on a Dedicated Server">Configuring APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/04/using-apf-on-a-dedicated-server/" title="Using APF on a Dedicated Server">Using APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/03/starting-apf-on-a-dedicated-server/" title="Starting APF on a Dedicated Server">Starting APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/03/configuring-antidos-on-a-dedicated-server-for-apf/" title="Configuring AntiDOS on a Dedicated Server for APF">Configuring AntiDOS on a Dedicated Server for APF</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/06/06/accessing-phpmyadmin-and-mysql-with-plesk/" title="Accessing phpMyAdmin and MySQL with Plesk">Accessing phpMyAdmin and MySQL with Plesk</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/21/setting-up-private-nameservers-on-your-dedicated-server-part-1-of-2/" title="Setting up Private Nameservers on Your Dedicated Server (Part 1 of 2)">Setting up Private Nameservers on Your Dedicated Server (Part 1 of 2)</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/19/more-on-cron-jobs-for-your-dedicated-server/" title="More on Cron Jobs for Your Dedicated Server">More on Cron Jobs for Your Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/05/08/helpful-dedicated-server-terminology/" title="Helpful Dedicated Server Terminology">Helpful Dedicated Server Terminology</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/29/dedicated-server-quotes/" title="Dedicated Server Quotes">Dedicated Server Quotes</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dedicatedserverhosting.com/2008/04/02/installing-apf-on-a-dedicated-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Secure your Dedicated Server</title>
		<link>http://www.dedicatedserverhosting.com/2008/03/20/how-to-secure-your-dedicated-server/</link>
		<comments>http://www.dedicatedserverhosting.com/2008/03/20/how-to-secure-your-dedicated-server/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 22:37:39 +0000</pubDate>
		<dc:creator>Dedicated Diva</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[DDOS Protection]]></category>
		<category><![CDATA[Dedicated Web Hosting]]></category>
		<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[dedicated hosting]]></category>
		<category><![CDATA[dedicated server hosting]]></category>
		<category><![CDATA[lunarpages]]></category>
		<category><![CDATA[managed dedicated hosting]]></category>
		<category><![CDATA[Managed Hosting]]></category>
		<category><![CDATA[secure hosting]]></category>

		<guid isPermaLink="false">http://www.dedicatedserverhosting.com/2008/03/20/how-to-secure-your-dedicated-server/</guid>
		<description><![CDATA[Surviving a DDoS attack can be really challenging and overcoming the bad exposure you’ll have gotten and/or explaining the downtime and disruption to your customers isn’t easy either. So taking the necessary steps to have a secured dedicated server is evermore incredibly important to your dedicated hosting environment. So do you know how to secure [...]]]></description>
			<content:encoded><![CDATA[<p>Surviving a <a href="http://www.dedicatedserverhosting.com/2008/03/20/what-is-a-ddos-attack/" title="What is a DDoS Attack" target="_blank">DDoS attack</a> can be really challenging and overcoming the bad exposure you’ll have gotten and/or explaining the downtime and disruption to your customers isn’t easy either. So taking the necessary steps to have a secured dedicated server is evermore incredibly important to your dedicated hosting environment.</p>
<p>So do you know how to secure your <a href="http://www.lpdedicated.com" title="Dedicated Server" target="_blank">dedicated server</a>?</p>
<p>Here’s a quick checklist to help you secure your server:</p>
<p><img src="http://www.dedicatedserverhosting.com/wp-content/uploads/2008/03/tick.gif" alt="tick.gif" /><strong> SYN Cookies </strong>– These are helpful because they deny any connections that are not verifiable</p>
<p><img src="http://www.dedicatedserverhosting.com/wp-content/uploads/2008/03/tick.gif" alt="tick.gif" /><strong> Firewalls</strong> – Just like on your home computer, server firewalls are meant to prevent malicious attacks and to keep your information safe. However, don’t let a firewall ease your fears, as many DDoS attacks are becoming too complex for even the best firewall to prevent.</p>
<p><img src="http://www.dedicatedserverhosting.com/wp-content/uploads/2008/03/tick.gif" alt="tick.gif" /><strong> Switches</strong> – These can limit, prevent, and filter the DDoS attacks and also alert you to their presence, which is a great help as you try to recover.<br />
<h3>More Dedicated Web Hosting Help!</h3>
<ul class="related_post">
<li><a href="http://www.dedicatedserverhosting.com/2008/03/20/what-is-a-ddos-attack/" title="What is a DDoS Attack?">What is a DDoS Attack?</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/02/18/tools-to-self-manage-your-dedicated-server/" title="Tools to Self Manage your Dedicated Server">Tools to Self Manage your Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/02/02/managed-hosting/" title="Managed Hosting">Managed Hosting</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/09/email-forwarding-on-your-dedicated-server/" title="Email Forwarding on Your Dedicated Server">Email Forwarding on Your Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/03/starting-apf-on-a-dedicated-server/" title="Starting APF on a Dedicated Server">Starting APF on a Dedicated Server</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2008/04/03/configuring-antidos-on-a-dedicated-server-for-apf/" title="Configuring AntiDOS on a Dedicated Server for APF">Configuring AntiDOS on a Dedicated Server for APF</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2010/08/25/what-is-an-ssl-certificate/" title="What is an SSL Certificate?">What is an SSL Certificate?</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2010/08/16/what-is-ecommerce/" title="What is Ecommerce?">What is Ecommerce?</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2010/08/11/what-is-necessary-for-an-ecommerce-website/" title="What is Necessary for an Ecommerce Website?">What is Necessary for an Ecommerce Website?</a></li>
<li><a href="http://www.dedicatedserverhosting.com/2010/08/03/amount-of-ram-on-dedicated-servers/" title="Amount of RAM on Dedicated Servers">Amount of RAM on Dedicated Servers</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dedicatedserverhosting.com/2008/03/20/how-to-secure-your-dedicated-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
