Puppet Class: nftables::rules::out::mdns
- Defined in:
-
manifests/rules/out/mdns.pp
Summary
allow outgoing multicast DNS
Overview
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'manifests/rules/out/mdns.pp', line 7
class nftables::rules::out::mdns (
Boolean $ipv4 = true,
Boolean $ipv6 = true,
) {
if $ipv4 {
nftables::rule { 'default_out-mdns_v4':
content => 'ip daddr 224.0.0.251 udp dport 5353 accept',
}
}
if $ipv6 {
nftables::rule { 'default_out-mdns_v6':
content => 'ip6 daddr ff02::fb udp dport 5353 accept',
}
}
}
|