aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-03-01 21:52:14 +0100
committerMicah Anderson <micah@riseup.net>2011-06-21 12:15:36 -0400
commitc9662005e3d093b47302473488a9557b4a5520db (patch)
tree4d827d0ab503bb2757f6b1081816747c8d610d18 /manifests
parenta4e597582efb8d35ea39a19b8139873c96e7291e (diff)
downloadpuppet-shorewall-c9662005e3d093b47302473488a9557b4a5520db.tar.gz
puppet-shorewall-c9662005e3d093b47302473488a9557b4a5520db.tar.bz2
add ekeyd rules
Diffstat (limited to 'manifests')
-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';
+ }
+}
+