diff options
author | mh <mh@immerda.ch> | 2011-03-01 21:52:14 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-03-01 21:52:14 +0100 |
commit | e429b600b98c30675717303229ada47e390fbf84 (patch) | |
tree | 476ce920a3081bc61390db95812f39728ef8ab51 | |
parent | 0c5826db92e1e8556b89a3804079e96fb4abffb0 (diff) | |
download | puppet-shorewall-e429b600b98c30675717303229ada47e390fbf84.tar.gz puppet-shorewall-e429b600b98c30675717303229ada47e390fbf84.tar.bz2 |
add ekeyd rules
-rw-r--r-- | manifests/rules/ekeyd.pp | 10 | ||||
-rw-r--r-- | manifests/rules/out/ekeyd.pp | 11 |
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'; + } +} + |