diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-12-21 16:55:19 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-12-21 16:55:19 -0200 |
commit | b3b92661ce3a305855afdeda52ddb7bed478cb0d (patch) | |
tree | d97f791efef161234a7179a7fa41650a12bf0722 /manifests | |
parent | 115564ff9f1c903a4b344d45e8ab681a71b2a1e0 (diff) | |
download | puppet-nodo-b3b92661ce3a305855afdeda52ddb7bed478cb0d.tar.gz puppet-nodo-b3b92661ce3a305855afdeda52ddb7bed478cb0d.tar.bz2 |
Enabling smtps port at firewall::vserver::mail (2)
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/subsystems/firewall/vserver.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/subsystems/firewall/vserver.pp b/manifests/subsystems/firewall/vserver.pp index 4415952..c9030f4 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:587", + destination => "$zone:$destination:465", proto => 'tcp', - destinationport => '587', + destinationport => '465', 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:587", + destination => "$zone:$destination:465", proto => 'tcp', - destinationport => '587', + destinationport => '465', originaldest => "$ipaddress", ratelimit => "$firewall_ssl_ratelimit", order => '1005', |