From fc07da3b1c5f8385228e25569b96594913bf4c8c Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 29 Sep 2009 23:22:05 +0200 Subject: add sobby instance rule --- manifests/rules/sobby/instance.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 manifests/rules/sobby/instance.pp (limited to 'manifests/rules/sobby') 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'; + } +} -- cgit v1.2.3