<?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>CSF &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/csf/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Mon, 08 Feb 2021 08:29:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>CSF &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Setup ConfigServer Security and Firewall (CSF) on CentOS 7 and 8</title>
		<link>https://help.hostry.com/knowledge-base/how-to-setup-configserver-security-and-firewall-csf-on-centos-7-and-8/</link>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 20 Nov 2020 09:34:46 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2577</guid>

					<description><![CDATA[ConfigServer Security &#38; Firewall (CSF) is a packet health monitoring tool (SPI), login or intrusion detection and security application for Linux servers. This is a very popular security package, but still not officially supported on CentOS 7. CentOS 7 uses firewalld, but dodn&#8217;t use iptables. A google search will give [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>ConfigServer Security &amp; Firewall (<strong><a href="https://www.configserver.com/cp/csf.html">CSF</a></strong>) is a packet health monitoring tool (SPI), login or intrusion detection and security application for Linux servers. This is a very popular security package, but still<br> not officially supported on CentOS 7. CentOS 7 uses firewalld, but dodn&#8217;t use iptables. A google search will give you a picture that many faithful CentOS users find firewalld too complicated for their needs and fall back on iptables.<br> Iptables was the default firewall for CentOS 5 and 6. This tutorial is focused on showing you how to disable firewalld, install IP tables, <strong>CSF</strong> and <strong>CSF</strong> dependencies.</p>



<h2 id="install-csf" >Install CSF</h2>



<p>First you need to install <strong>CSF</strong> and disable and stop firewalld. This can be done using the following command:</p>



<pre class="wp-block-code"><code>systemctl disable firewalld
systemctl stop firewalld</code></pre>



<p>Next, you need to install <strong>Iptables</strong>. This can be done using the following command:</p>



<pre class="wp-block-code"><code>yum -y install iptables-services</code></pre>



<p>Then you need to create <strong>files</strong> needed <strong>by iptables</strong></p>



<pre class="wp-block-code"><code>  touch /etc/sysconfig/iptables
  touch /etc/sysconfig/iptables6</code></pre>



<p>Next, you need to run iptables</p>



<pre class="wp-block-code"><code>systemctl start iptables
systemctl start ip6tables</code></pre>



<p>Then you need to <strong>enable iptables at boot</strong></p>



<pre class="wp-block-code"><code>systemctl enable iptables
systemctl enable ip6tables</code></pre>



<p>Install <strong>CSF</strong> dependencies</p>



<pre class="wp-block-code"><code>yum -y install wget perl unzip net-tools perl-libwww-perl perl-LWP-Protocol-https perl-GDGraph -y</code></pre>



<p>Download and <strong>run</strong> the <strong>CSF </strong>installer.</p>



<pre class="wp-block-code"><code>cd /opt
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh</code></pre>



<p>Delete the following installation files</p>



<pre class="wp-block-code"><code>rm -rf /opt/csf
rm /opt/csf.tgz</code></pre>



<p>Done. All steps have been successfully completed.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
