aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-12-21 16:58:15 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-12-21 16:58:15 -0200
commit078f3e9fb1fcc8f5441a493c5634193d98dad0b6 (patch)
tree227e3a370c3a6e9b3c52e64ff18a44bed2918968 /manifests
parentb3b92661ce3a305855afdeda52ddb7bed478cb0d (diff)
downloadpuppet-nodo-078f3e9fb1fcc8f5441a493c5634193d98dad0b6.tar.gz
puppet-nodo-078f3e9fb1fcc8f5441a493c5634193d98dad0b6.tar.bz2
Enabling smtps port at firewall::vserver::mail (3)
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystems/firewall/vserver.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/subsystems/firewall/vserver.pp b/manifests/subsystems/firewall/vserver.pp
index c9030f4..4415952 100644
--- a/manifests/subsystems/firewall/vserver.pp
+++ b/manifests/subsystems/firewall/vserver.pp
@@ -222,9 +222,9 @@ class firewall::vserver::mail($destination, $zone = 'fw') {
shorewall::rule { 'mail-5':
action => 'DNAT',
source => 'net',
- destination => "$zone:$destination:465",
+ destination => "$zone:$destination:587",
proto => 'tcp',
- destinationport => '465',
+ destinationport => '587',
ratelimit => "$firewall_ssl_ratelimit",
order => '1004',
}
@@ -232,9 +232,9 @@ class firewall::vserver::mail($destination, $zone = 'fw') {
shorewall::rule { 'mail-6':
action => 'DNAT',
source => '$FW',
- destination => "$zone:$destination:465",
+ destination => "$zone:$destination:587",
proto => 'tcp',
- destinationport => '465',
+ destinationport => '587',
originaldest => "$ipaddress",
ratelimit => "$firewall_ssl_ratelimit",
order => '1005',