roles/common: Remove SSH rate limiting from firewalld
Rather than a simple rate limit, I'm now using fail2ban to ban IPs that actually fail to login.
This commit is contained in:
parent
4710ee6f07
commit
d8d8a01a5f
@ -7,18 +7,14 @@
|
|||||||
<rule family="ipv4">
|
<rule family="ipv4">
|
||||||
<source address="0.0.0.0/0"/>
|
<source address="0.0.0.0/0"/>
|
||||||
<port protocol="tcp" port="22"/>
|
<port protocol="tcp" port="22"/>
|
||||||
<accept>
|
<accept/>
|
||||||
<limit value="12/m"/>
|
|
||||||
</accept>
|
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
{# ipv6 ssh rules #}
|
{# ipv6 ssh rules #}
|
||||||
<rule family="ipv6">
|
<rule family="ipv6">
|
||||||
<source address="::/0"/>
|
<source address="::/0"/>
|
||||||
<port protocol="tcp" port="22"/>
|
<port protocol="tcp" port="22"/>
|
||||||
<accept>
|
<accept/>
|
||||||
<limit value="12/m"/>
|
|
||||||
</accept>
|
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
{# web rules #}
|
{# web rules #}
|
||||||
|
Loading…
Reference in New Issue
Block a user