Compare commits
1 Commits
main
...
limit-ssh-
Author | SHA1 | Date | |
---|---|---|---|
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