aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/vserver.pp21
1 files changed, 21 insertions, 0 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index 1ad98b9..c50fa47 100644
--- a/manifests/vserver.pp
+++ b/manifests/vserver.pp
@@ -341,6 +341,27 @@ class nodo::vserver inherits nodo {
ratelimit => '-',
order => '1001',
}
+
+ shorewall::rule { 'mail-3':
+ action => 'DNAT',
+ source => 'net',
+ destination => "fw:192.168.0.$context:993",
+ proto => 'tcp',
+ destinationport => '993',
+ ratelimit => '-',
+ order => '1002',
+ }
+
+ shorewall::rule { 'mail-4':
+ action => 'DNAT',
+ source => '$FW',
+ destination => "fw:192.168.0.$context:993",
+ proto => 'tcp',
+ destinationport => '993',
+ originaldest => "$ipaddress",
+ ratelimit => '-',
+ order => '1003',
+ }
}
}
}