mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-25 13:40:17 +00:00
Adding tcp and udp limits for DNS
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
- 5154
|
||||
- 30000
|
||||
|
||||
- name: Create limits
|
||||
- name: Create tcp limits
|
||||
ufw:
|
||||
rule: limit
|
||||
proto: tcp
|
||||
@@ -40,3 +40,12 @@
|
||||
- 22
|
||||
- 587
|
||||
- 2222
|
||||
- 53
|
||||
|
||||
- name: Create UDP limits
|
||||
ufw:
|
||||
rule: limit
|
||||
proto: udp
|
||||
port: '{{ item }}'
|
||||
with_items:
|
||||
- 53
|
||||
|
||||
Reference in New Issue
Block a user