aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-10 23:00:43 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-10 23:00:43 -0200
commite55399eb40f971eb41ced123cfc958ad0f7c6878 (patch)
tree81521ada51e7ddb1b076ead3c6bd91a0413266ae /manifests
parent1524a7f79fa9556392b54b4e79aceaa159d424a7 (diff)
downloadpuppet-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.pp30
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',
}
}
}