Puppet Class: nftables::rules::out::ssdp
- Defined in:
- manifests/rules/out/ssdp.pp
Summary
allow outgoing SSDPOverview
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'manifests/rules/out/ssdp.pp', line 9
class nftables::rules::out::ssdp (
Boolean $ipv4 = true,
Boolean $ipv6 = true,
) {
if $ipv4 {
nftables::rule { 'default_out-ssdp_v4':
content => 'ip daddr 239.255.255.250 udp dport 1900 accept comment "allow outgoing SSDP"',
}
}
if $ipv6 {
nftables::rule { 'default_out-ssdp_v6':
content => 'ip6 daddr {ff02::c, ff05::c} udp dport 1900 accept comment "allow outgoing SSDP"',
}
}
}
|