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">
|
||||
<source address="0.0.0.0/0"/>
|
||||
<port protocol="tcp" port="22"/>
|
||||
<accept>
|
||||
<limit value="12/m"/>
|
||||
</accept>
|
||||
<accept/>
|
||||
</rule>
|
||||
|
||||
{# ipv6 ssh rules #}
|
||||
<rule family="ipv6">
|
||||
<source address="::/0"/>
|
||||
<port protocol="tcp" port="22"/>
|
||||
<accept>
|
||||
<limit value="12/m"/>
|
||||
</accept>
|
||||
<accept/>
|
||||
</rule>
|
||||
|
||||
{# web rules #}
|
||||
|
Loading…
Reference in New Issue
Block a user