<?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>eITWebguru &#187; configure CSF</title>
	<atom:link href="http://eitwebguru.com/tag/configure-csf/feed/" rel="self" type="application/rss+xml" />
	<link>http://eitwebguru.com</link>
	<description></description>
	<lastBuildDate>Mon, 21 May 2012 05:48:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Install and Configure CSF on a VPS (Part-II)</title>
		<link>http://eitwebguru.com/install-and-configure-csf-on-a-vps-part-ii/</link>
		<comments>http://eitwebguru.com/install-and-configure-csf-on-a-vps-part-ii/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 17:00:37 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[DirectAdmin]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[configure CSF]]></category>
		<category><![CDATA[Configure CSF in CPanel]]></category>
		<category><![CDATA[Configure CSF in DirectAdmin]]></category>
		<category><![CDATA[Configure CSF with Plesk]]></category>
		<category><![CDATA[CSF Port Configuration]]></category>
		<category><![CDATA[CSF Supported OS]]></category>
		<category><![CDATA[Install ConfigServer Security and Firewall]]></category>
		<category><![CDATA[install CSF]]></category>
		<category><![CDATA[Ports need to open in CSF]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=383</guid>
		<description><![CDATA[In previous Article I have explain how to enable Firewall modules on Virtuozzo or OpenVZ based node. Today I am going to explain how to install and configure CSF Firewall on a VPS. ConfigServer Security and Firewall (CSF) is a free product developed by &#8220;ConfigServer Services&#8221; and this Firewall is successfully tested on following Operating [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">In previous <strong><a href="http://eitwebguru.com/install-and-configure-csf-on-a-vps-part-i-enable-firewall-modules/">Article</a></strong> I have explain how to enable Firewall modules on Virtuozzo or OpenVZ based node. Today I am going to explain how to install and configure CSF Firewall on a VPS.</span></p>
<p><span id="more-383"></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>ConfigServer Security and Firewall</strong> (<strong>CSF</strong>) is a free product developed by &#8220;<strong>ConfigServer Services</strong>&#8221; and this Firewall is successfully tested on following Operating System</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 200px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>RedHat v7.3, v8.0, v9.0
RedHat Enterprise v3, v4, v5 (32/64 bit)
CentOS v3, v4, v5 (32/64 bit)
Fedora Core v1 to v12(32/64 bit)
*Ubuntu v6.06 LTS, v8.10, v9.10
*Debian v3.1, v4.0, v5.0
*Mandriva 2009
*Gentoo
*openSUSE v10, v11
*Slackware v12.2
<span style="color: #ff0000;">* may require custom regex patterns for some functions</span></strong></pre>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong><span style="font-family: Verdana; font-size: small;">Installation of CSF</span></strong></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Before installation of CSF make sure you have <strong>Perl 5.8.8 and perl-libwww-perl</strong> (Perl Module) is installed on your Server. If they are not installed you can install it using <strong>YUM</strong>.</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 20px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>yum install perl perl-libwww-perl</strong></pre>
<p style="text-align: justify;">
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Now copy and paste Following Commands After &#8220;#&#8221; to install CSF on a VPS<br />
</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">To Download CSF:- # <strong>wget http://www.configserver.com/free/csf.tgz</strong></span><span style="font-family: Verdana; font-size: small;"><br />
Extract zip:- # <strong>tar -xzvf csf.tgz</strong><br />
</span><span style="font-family: Verdana; font-size: small;">Go to CSF Directory:- # <strong>cd csf</strong><br />
Install CSF:- # <strong>./install.sh</strong></span></p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong><span style="font-family: Verdana; font-size: small;">Configuration of CSF</span></strong></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">To Configure CSF (Basic Configuration) open/Edit CSF Configuration File at <strong>/etc/csf/csf.conf</strong> file and make following changes</span></p>
<p style="text-align: justify;"><strong><span style="font-family: Verdana; font-size: small;">1) Disable Testing Mode</span></strong></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 80px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Change</strong>
TESTING = "1"
<strong>to</strong>
TESTING = "0"</pre>
<p style="text-align: justify;">
<p style="text-align: justify;"><strong><span style="font-family: Verdana; font-size: small;">2) Enable incoming and outgoing Ports.</span></strong></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Search for &#8220;<strong>TCP_IN</strong>&#8221; and add following ports for respective control panels</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 90px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Cpanel</strong> = "20,21,22,25,26,53,80,110,143,443,465,993,995,2082,2083,2086,2087,2095,2096"
<strong>Plesk</strong> = "20,21,22,25,53,80,110,143,443,465,993,995,8443,8880"
<strong>DirectAdmin</strong> = "20,21,22,25,53,80,110,143,443,2222"</pre>
<p style="text-align: justify;">
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Search for &#8220;<strong>TCP_OUT</strong>&#8221; and add following Ports</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 40px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Cpanel</strong> = "21,22,25,26,27,37,43,53,80,110,113,443,465,873,2089"
<strong>Plesk</strong> =  "20,21,22,25,53,37,43,80,113,443,465,873,5443"</pre>
<p style="text-align: justify;">
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Search &#8220;<strong>UDP_IN</strong>&#8220;</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 60px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Cpanel </strong>= "20,21,53,953"
<strong>Plesk</strong> =  "37,53,873"
<strong>DirectAdmin</strong> = "21,53,873"</pre>
<p style="text-align: justify;">
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Search &#8220;<strong>UDP_OUT</strong>&#8220;</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 40px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Cpanel</strong> = "20,21,53,113,123,873,953"
<strong>Plesk</strong> = "53,873"</pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>**I have used Default port for CSF Configuration</strong> and if you have any customized OR additional Port, you can add it in CSF Configuration.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>Save and Exit the file</strong>. Now you can restart the Firewall using command &#8220;<strong>csf -r</strong>&#8220;</span></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/install-and-configure-csf-on-a-vps-part-ii/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

