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