diff options
author | drebs <drebs@riseup.net> | 2011-03-11 18:41:05 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2011-03-11 18:41:05 -0300 |
commit | f7c1d1a879c81cd5ea328b191ab6729f05a03984 (patch) | |
tree | 913e8a0ff05b9dbb6f157acc017d79869775496d /manifests/firewall.pp | |
parent | 01b2048dbf02ac726dabde5e846b9d6ac9aff0e6 (diff) | |
download | puppet-bootstrap-f7c1d1a879c81cd5ea328b191ab6729f05a03984.tar.gz puppet-bootstrap-f7c1d1a879c81cd5ea328b191ab6729f05a03984.tar.bz2 |
using puppet apply
Diffstat (limited to 'manifests/firewall.pp')
-rw-r--r-- | manifests/firewall.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/firewall.pp b/manifests/firewall.pp new file mode 100644 index 0000000..10f5988 --- /dev/null +++ b/manifests/firewall.pp @@ -0,0 +1,12 @@ +import "config.pp" +import "shorewall" + +shorewall::rule { "ssh-02": + action => 'DNAT', + source => 'net', + destination => "vm:192.168.0.$context:22", + proto => 'tcp', + destinationport => "22$id", + ratelimit => '-', + order => "202", +} |