aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes/firewall.pp
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2011-03-20 18:05:17 -0300
committerdrebs <drebs@riseup.net>2011-03-20 18:05:17 -0300
commit244d2f78c2c0d0abbcfa11bd85b5f81aeea5540b (patch)
tree27df5c1277fcdcd412bb9c71a31048d643aa2c67 /manifests/classes/firewall.pp
parent13203a28257422df18f5d96ad4897e27d32cbdd4 (diff)
downloadpuppet-bootstrap-244d2f78c2c0d0abbcfa11bd85b5f81aeea5540b.tar.gz
puppet-bootstrap-244d2f78c2c0d0abbcfa11bd85b5f81aeea5540b.tar.bz2
fixing firewall conf
Diffstat (limited to 'manifests/classes/firewall.pp')
-rw-r--r--manifests/classes/firewall.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/classes/firewall.pp b/manifests/classes/firewall.pp
index 750fdc6..cd1b225 100644
--- a/manifests/classes/firewall.pp
+++ b/manifests/classes/firewall.pp
@@ -4,9 +4,9 @@ class firewall {
shorewall::rule { "ssh-02":
action => 'DNAT',
source => 'net',
- destination => "vm:192.168.0.$context:22",
+ destination => "vm:192.168.0.2:22",
proto => 'tcp',
- destinationport => "22$id",
+ destinationport => "2202",
ratelimit => '-',
order => "202",
}