diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-02-10 23:00:43 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-02-10 23:00:43 -0200 |
commit | e55399eb40f971eb41ced123cfc958ad0f7c6878 (patch) | |
tree | 81521ada51e7ddb1b076ead3c6bd91a0413266ae /manifests | |
parent | 1524a7f79fa9556392b54b4e79aceaa159d424a7 (diff) | |
download | puppet-nodo-e55399eb40f971eb41ced123cfc958ad0f7c6878.tar.gz puppet-nodo-e55399eb40f971eb41ced123cfc958ad0f7c6878.tar.bz2 |
Adding back previous rules but with 'originaldest'
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 1e041cd..a747f0e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -283,6 +283,28 @@ class nodo::vserver inherits nodo { ratelimit => '-', order => '303', } + + shorewall::rule { 'puppetmaster-3': + action => 'DNAT', + source => '$FW', + destination => "fw:192.168.0.$context:8140", + proto => 'tcp', + destinationport => '8140', + originaldest => "$ipaddress", + ratelimit => '-', + order => '304', + } + + shorewall::rule { 'puppetmaster-4': + action => 'DNAT', + source => '$FW', + destination => "fw:192.168.0.$context:8140", + proto => 'udp', + destinationport => '8140', + originaldest => "$ipaddress", + ratelimit => '-', + order => '305', + } } if $gitd { @@ -293,7 +315,7 @@ class nodo::vserver inherits nodo { proto => 'tcp', destinationport => '9418', ratelimit => '-', - order => '304', + order => '306', } shorewall::rule { 'git-daemon-2': @@ -303,7 +325,7 @@ class nodo::vserver inherits nodo { proto => 'tcp', destinationport => '9418', ratelimit => '-', - order => '305', + order => '307', } } @@ -315,7 +337,7 @@ class nodo::vserver inherits nodo { proto => 'tcp', destinationport => '8000', ratelimit => '-', - order => '306', + order => '308', } shorewall::rule { 'icecast-2': @@ -325,7 +347,7 @@ class nodo::vserver inherits nodo { proto => 'tcp', destinationport => '8000', ratelimit => '-', - order => '307', + order => '309', } } } |