summaryrefslogtreecommitdiff
path: root/manifests/vm/gobby.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vm/gobby.pp')
-rw-r--r--manifests/vm/gobby.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/vm/gobby.pp b/manifests/vm/gobby.pp
new file mode 100644
index 0000000..3b113c5
--- /dev/null
+++ b/manifests/vm/gobby.pp
@@ -0,0 +1,11 @@
+class firewall::vm::gobby($destination, $zone = 'fw') {
+ shorewall::rule { 'gobby-0':
+ action => 'DNAT',
+ source => 'net',
+ destination => "$zone:$destination:6523",
+ proto => 'tcp',
+ destinationport => '6523',
+ ratelimit => '-',
+ order => 2400,
+ }
+}