<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FCentOS_7</id>
	<title>Linux/CentOS 7 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FCentOS_7"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/CentOS_7&amp;action=history"/>
	<updated>2026-05-09T08:13:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Linux/CentOS_7&amp;diff=877&amp;oldid=prev</id>
		<title>Kenneth at 16:49, 3 September 2014</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/CentOS_7&amp;diff=877&amp;oldid=prev"/>
		<updated>2014-09-03T16:49:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Firewall [http://stackoverflow.com/questions/24729024/centos-7-open-firewall-port]&lt;br /&gt;
 firewall-cmd --add-port=80/tcp --permanent&lt;br /&gt;
 firewall-cmd --reload&lt;br /&gt;
&lt;br /&gt;
== EPEL ==&lt;br /&gt;
&lt;br /&gt;
 wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm&lt;br /&gt;
 rpm -ivh epel-release-7-1.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
I think it is also in the &amp;#039;extras&amp;#039; package too&lt;br /&gt;
&lt;br /&gt;
== fail2ban ==&lt;br /&gt;
&lt;br /&gt;
Install [[#EPEL]] (I think it is also in the &amp;#039;extras&amp;#039; package too)&lt;br /&gt;
&lt;br /&gt;
Install fail2ban&lt;br /&gt;
 yum install fail2ban&lt;br /&gt;
&lt;br /&gt;
Copy default config to local config:&lt;br /&gt;
 cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local&lt;br /&gt;
&lt;br /&gt;
Modify local config:&lt;br /&gt;
 vi /etc/fail2ban/jail.local&lt;br /&gt;
   [sshd]&lt;br /&gt;
   enabled  = true&lt;br /&gt;
&lt;br /&gt;
Restart fail2ban&lt;br /&gt;
 sudo service fail2ban restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
* How To Protect SSH with fail2ban on CentOS 6 | DigitalOcean - https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-fail2ban-on-centos-6&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>