Puppet Class: nftables::rules::wsd
- Defined in:
-
manifests/rules/wsd.pp
Summary
allow incoming webservice discovery
Overview
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# File 'manifests/rules/wsd.pp', line 9
class nftables::rules::wsd (
Boolean $ipv4 = true,
Boolean $ipv6 = true,
) {
if $ipv4 {
nftables::rule { 'default_in-wsd_v4':
content => 'ip daddr 239.255.255.250 udp dport 3702 accept comment "accept ws-discovery"',
}
}
if $ipv6 {
nftables::rule { 'default_in-wsd_v6':
content => 'ip6 daddr ff02::c udp dport 3702 accept comment "accept ws-discovery"',
}
}
}
|