mirror of
https://github.com/ruanbekker/rpi-ansible.git
synced 2026-09-05 05:50:41 +02:00
don't log igmp; drop multicast silently
This commit is contained in:
@@ -92,18 +92,43 @@
|
||||
port: ssh
|
||||
proto: tcp
|
||||
log: yes
|
||||
tags:
|
||||
- ufw
|
||||
|
||||
- name: allow mDNS through UFW
|
||||
ufw:
|
||||
rule: allow
|
||||
to_ip: 224.0.0.251
|
||||
proto: igmp
|
||||
log: no
|
||||
tags:
|
||||
- ufw
|
||||
|
||||
- name: drop multicast without logging
|
||||
ufw:
|
||||
rule: deny
|
||||
to_ip: 224.0.0.1
|
||||
log: no
|
||||
tags:
|
||||
- ufw
|
||||
|
||||
- name: set default incoming UFW policy to deny
|
||||
ufw:
|
||||
direction: incoming
|
||||
policy: deny
|
||||
tags:
|
||||
- ufw
|
||||
|
||||
- name: set default outgoing UFW policy to deny
|
||||
- name: set default outgoing UFW policy to allow
|
||||
ufw:
|
||||
direction: outgoing
|
||||
policy: allow
|
||||
tags:
|
||||
- ufw
|
||||
|
||||
- name: enable UFW
|
||||
ufw:
|
||||
state: enabled
|
||||
logging: yes
|
||||
tags:
|
||||
- ufw
|
||||
|
||||
Reference in New Issue
Block a user