From d75effa11c00a960a15795f9b9b363869ed3da25 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 17 Feb 2010 13:35:57 -0200 Subject: Adding unzip package --- manifests/init.pp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'manifests/init.pp') diff --git a/manifests/init.pp b/manifests/init.pp index e4d3152..9e18a25 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -257,7 +257,7 @@ class nodo::vserver inherits nodo { case $ensure { 'running': { - shorewall::rule { "ssh-$context": + shorewall::rule { "ssh-$context-1": action => 'DNAT', source => 'net', destination => "vm:192.168.0.$context:22", @@ -267,6 +267,17 @@ class nodo::vserver inherits nodo { order => "2$id", } + shorewall::rule { "ssh-$context-2": + action => 'DNAT', + source => '$FW', + destination => "fw:192.168.0.$context:22", + proto => 'tcp', + destinationport => '8140', + originaldest => "$ipaddress", + ratelimit => '-', + order => '304', + } + if $proxy { shorewall::rule { 'http-route': action => 'DNAT', -- cgit v1.2.3