aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/rules')
-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';
+ }
+}