Added ufw limit rule to rate limit connecting on port 222
continuous-integration/drone/push Build is failing Details

This commit is contained in:
KawaiiPunk 2022-06-21 14:12:55 +01:00
parent 3b698b9133
commit 735ce2a957
Signed by: kawaiipunk
GPG Key ID: 8664A690E094B219
1 changed files with 6 additions and 0 deletions

View File

@ -31,3 +31,9 @@
- name: Enable the firewall
ufw:
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