Adding tcp and udp limits for DNS
This commit is contained in:
parent
1cd93968f5
commit
66d0d8cec0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue