summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-09-29 23:22:05 +0200
committerMicah Anderson <micah@riseup.net>2009-12-07 11:34:16 -0500
commitfc07da3b1c5f8385228e25569b96594913bf4c8c (patch)
tree274c1bbc4f5827e84fde87cecb4ae3525ac8563d /manifests
parent5be002f172ad5e94d6c2c23d57fb4d3e621bed2d (diff)
add sobby instance rule
Diffstat (limited to 'manifests')
-rw-r--r--manifests/rules/sobby/instance.pp11
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';
+ }
+}