Added ufw limit rule to rate limit connecting on port 222
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
3b698b9133
commit
735ce2a957
@ -31,3 +31,9 @@
|
|||||||
- name: Enable the firewall
|
- name: Enable the firewall
|
||||||
ufw:
|
ufw:
|
||||||
state: enabled
|
state: enabled
|
||||||
|
|
||||||
|
- name: Deny connections if an IP address has attempted to initiate 6 or more connections in the last 30 seconds
|
||||||
|
ufw:
|
||||||
|
rule: limit
|
||||||
|
port: 222
|
||||||
|
proto: tcp
|
||||||
|
Reference in New Issue
Block a user