Révision 5ffd0328
Add rule to allow multicast DNS
REFERENCE.md | ||
---|---|---|
25 | 25 |
* [`nftables::rules::icinga2`](#nftables--rules--icinga2): manage in icinga2 |
26 | 26 |
* [`nftables::rules::icmp`](#nftables--rules--icmp) |
27 | 27 |
* [`nftables::rules::ldap`](#nftables--rules--ldap): manage in ldap |
28 |
* [`nftables::rules::mdns`](#nftables--rules--mdns): allow incoming multicast DNS |
|
28 | 29 |
* [`nftables::rules::multicast`](#nftables--rules--multicast): allow incoming multicast traffic |
29 | 30 |
* [`nftables::rules::nfs`](#nftables--rules--nfs): manage in nfs4 |
30 | 31 |
* [`nftables::rules::nfs3`](#nftables--rules--nfs3): manage in nfs3 |
... | ... | |
646 | 647 |
|
647 | 648 |
Default value: `[389, 636]` |
648 | 649 |
|
650 |
### <a name="nftables--rules--mdns"></a>`nftables::rules::mdns` |
|
651 |
|
|
652 |
allow incoming multicast DNS |
|
653 |
|
|
649 | 654 |
### <a name="nftables--rules--multicast"></a>`nftables::rules::multicast` |
650 | 655 |
|
651 | 656 |
allow incoming multicast traffic |
manifests/rules/mdns.pp | ||
---|---|---|
1 |
# |
|
2 |
# @summary allow incoming multicast DNS |
|
3 |
# |
|
4 |
class nftables::rules::mdns { |
|
5 |
nftables::rule { 'default_in-mdns': |
|
6 |
content => 'ip daddr 224.0.0.251 accept', |
|
7 |
} |
|
8 |
} |
spec/acceptance/all_rules_spec.rb | ||
---|---|---|
86 | 86 |
include nftables::rules::wireguard |
87 | 87 |
include nftables::rules::multicast |
88 | 88 |
include nftables::rules::spotify |
89 |
include nftables::rules::mdns |
|
89 | 90 |
include nftables::services::dhcpv6_client |
90 | 91 |
include nftables::services::openafs_client |
91 | 92 |
nftables::set{'my_test_set': |
Formats disponibles : Unified diff