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