diff options
author | mh <mh@immerda.ch> | 2009-09-29 23:22:05 +0200 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2009-12-07 11:34:16 -0500 |
commit | fc07da3b1c5f8385228e25569b96594913bf4c8c (patch) | |
tree | 274c1bbc4f5827e84fde87cecb4ae3525ac8563d /manifests/rules/sobby | |
parent | 5be002f172ad5e94d6c2c23d57fb4d3e621bed2d (diff) | |
download | puppet-shorewall-fc07da3b1c5f8385228e25569b96594913bf4c8c.tar.gz puppet-shorewall-fc07da3b1c5f8385228e25569b96594913bf4c8c.tar.bz2 |
add sobby instance rule
Diffstat (limited to 'manifests/rules/sobby')
-rw-r--r-- | manifests/rules/sobby/instance.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/rules/sobby/instance.pp b/manifests/rules/sobby/instance.pp new file mode 100644 index 0000000..7151976 --- /dev/null +++ b/manifests/rules/sobby/instance.pp @@ -0,0 +1,11 @@ +define shorewall::rules::sobby::instance( $port ){ + shorewall::rule { + "net-me-tcp_sobby_${name}": + source => 'net', + destination => '$FW', + proto => 'tcp', + destinationport => $port, + order => 240, + action => 'ACCEPT'; + } +} |