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