summaryrefslogtreecommitdiff
path: root/manifests/virtual/mdns.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/virtual/mdns.pp')
-rw-r--r--manifests/virtual/mdns.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/virtual/mdns.pp b/manifests/virtual/mdns.pp
new file mode 100644
index 0000000..db8ec25
--- /dev/null
+++ b/manifests/virtual/mdns.pp
@@ -0,0 +1,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,
+ }
+}