summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-03-01 21:52:14 +0100
committermh <mh@immerda.ch>2011-03-01 21:52:14 +0100
commite429b600b98c30675717303229ada47e390fbf84 (patch)
tree476ce920a3081bc61390db95812f39728ef8ab51
parent0c5826db92e1e8556b89a3804079e96fb4abffb0 (diff)
add ekeyd rules
-rw-r--r--manifests/rules/ekeyd.pp10
-rw-r--r--manifests/rules/out/ekeyd.pp11
2 files changed, 21 insertions, 0 deletions
diff --git a/manifests/rules/ekeyd.pp b/manifests/rules/ekeyd.pp
new file mode 100644
index 0000000..dbff02f
--- /dev/null
+++ b/manifests/rules/ekeyd.pp
@@ -0,0 +1,10 @@
+class shorewall::rules::ekeyd {
+ shorewall::rule { 'net-me-tcp_ekeyd':
+ source => 'net',
+ destination => '$FW',
+ proto => 'tcp',
+ destinationport => '8888',
+ order => 240,
+ action => 'ACCEPT';
+ }
+}
diff --git a/manifests/rules/out/ekeyd.pp b/manifests/rules/out/ekeyd.pp
new file mode 100644
index 0000000..ef6f20a
--- /dev/null
+++ b/manifests/rules/out/ekeyd.pp
@@ -0,0 +1,11 @@
+class shorewall::rules::out::ekeyd($ekeyd_host) {
+ shorewall::rule { 'me-net-tcp_ekeyd':
+ source => '$FW',
+ destination => "net:${ekeyd_host}",
+ proto => 'tcp',
+ destinationport => '8888',
+ order => 240,
+ action => 'ACCEPT';
+ }
+}
+