Puppet Class: nftables::rules::llmnr

Defined in:
manifests/rules/llmnr.pp

Summary

allow incoming Link-Local Multicast Name Resolution

Overview

Parameters:

  • ipv4 (Boolean) (defaults to: true)

    Allow LLMNR over IPv4

  • ipv6 (Boolean) (defaults to: true)

    Allow LLMNR over IPv6

See Also:



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'manifests/rules/llmnr.pp', line 9

class nftables::rules::llmnr (
  Boolean $ipv4 = true,
  Boolean $ipv6 = true,
) {
  if $ipv4 {
    nftables::rule { 'default_in-llmnr_v4':
      content => 'ip daddr 224.0.0.252 udp dport 5355 accept comment "allow LLMNR"',
    }
  }
  if $ipv6 {
    nftables::rule { 'default_in-llmnr_v6':
      content => 'ip6 daddr ff02::1:3 udp dport 5355 accept comment "allow LLMNR"',
    }
  }
}