summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2017-08-29 12:50:31 +0200
committermh <mh@immerda.ch>2017-08-29 12:50:31 +0200
commit1643fc0f14aaf4a31f18af8adcf682298a9c8aca (patch)
tree6213038c429c3a09194af74946fd48eb1deed716
parentaee37040009edb28105f06ebc615f4b55d5d56a9 (diff)
there is no ipv6 support there yet
-rw-r--r--manifests/rules/out/ibackup.pp8
1 files changed, 6 insertions, 2 deletions
diff --git a/manifests/rules/out/ibackup.pp b/manifests/rules/out/ibackup.pp
index 856bcdb..9827426 100644
--- a/manifests/rules/out/ibackup.pp
+++ b/manifests/rules/out/ibackup.pp
@@ -1,5 +1,7 @@
class shorewall::rules::out::ibackup(
- $backup_host
+ $backup_host,
+ $shorewall4 = true,
+ $shorewall6 = false,
){
shorewall::rule { 'me-net-tcp_backupssh':
source => '$FW',
@@ -7,6 +9,8 @@ class shorewall::rules::out::ibackup(
proto => 'tcp',
destinationport => 'ssh',
order => 240,
- action => 'ACCEPT';
+ action => 'ACCEPT',
+ shorewall4 => $shorewall4,
+ shorewall6 => $shorewall6,
}
}