summaryrefslogtreecommitdiff
path: root/manifests/implementations/shorewall/virtual/mdns.pp
blob: b41e414b27ec0807596d4de326dccc97f62ae181 (plain)
1
2
3
4
5
6
7
8
9
10
11
class firewall::implementations::shorewall::virtual::mdns($destination, $zone = 'fw') {
  shorewall::rule { 'mdns-0':
    action          => 'DNAT',
    source          => 'net',
    destination     => "$zone:$destination:5353",
    proto           => 'tcp',
    destinationport => '5353',
    ratelimit       => '-',
    order           => 2700,
  }
}