summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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';
+ }
+}
+