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/rsync.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 manifests/vm/rsync.pp (limited to 'manifests/vm/rsync.pp') diff --git a/manifests/vm/rsync.pp b/manifests/vm/rsync.pp new file mode 100644 index 0000000..6ee9c98 --- /dev/null +++ b/manifests/vm/rsync.pp @@ -0,0 +1,11 @@ +class firewall::vm::rsync($destination, $zone = 'fw') { + shorewall::rule { 'rsync-0': + action => 'DNAT', + source => 'net', + destination => "$zone:$destination:873", + proto => 'tcp', + destinationport => '873', + ratelimit => '-', + order => 2600, + } +} -- cgit v1.2.3