summaryrefslogtreecommitdiff
path: root/manifests/vm/rsync.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vm/rsync.pp')
-rw-r--r--manifests/vm/rsync.pp11
1 files changed, 11 insertions, 0 deletions
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,
+ }
+}