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