From 279c52185ec96cd1f8b0c25a1a14b0e537c1c11a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 11 Sep 2015 21:43:49 -0300 Subject: Split and rename --- manifests/vm/gobby.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 manifests/vm/gobby.pp (limited to 'manifests/vm/gobby.pp') 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, + } +} -- cgit v1.2.3