aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-10-03 16:46:30 +0200
committerMicah Anderson <micah@riseup.net>2009-12-07 11:34:37 -0500
commit94e1638a1156e58057808e8175a6db71b3268633 (patch)
tree7ff3bbbb317103d6f2bfd98edbfc09c84b7ed0a5 /manifests/rules
parent1ad09632d56cec032a1884b295ce2ab511252557 (diff)
downloadpuppet-shorewall-94e1638a1156e58057808e8175a6db71b3268633.tar.gz
puppet-shorewall-94e1638a1156e58057808e8175a6db71b3268633.tar.bz2
add imap rules
Diffstat (limited to 'manifests/rules')
-rw-r--r--manifests/rules/imap.pp11
-rw-r--r--manifests/rules/out/imap.pp11
2 files changed, 22 insertions, 0 deletions
diff --git a/manifests/rules/imap.pp b/manifests/rules/imap.pp
new file mode 100644
index 0000000..7fbe181
--- /dev/null
+++ b/manifests/rules/imap.pp
@@ -0,0 +1,11 @@
+class shorewall::rules::imap {
+ shorewall::rule {
+ 'net-me-tcp_imap_s':
+ source => 'net',
+ destination => '$FW',
+ proto => 'tcp',
+ destinationport => '143,993',
+ order => 260,
+ action => 'ACCEPT';
+ }
+}
diff --git a/manifests/rules/out/imap.pp b/manifests/rules/out/imap.pp
new file mode 100644
index 0000000..f1313d2
--- /dev/null
+++ b/manifests/rules/out/imap.pp
@@ -0,0 +1,11 @@
+class shorewall::rules::out::imap {
+ shorewall::rule {
+ 'me-net-tcp_imap_s':
+ source => '$FW',
+ destination => 'net',
+ proto => 'tcp',
+ destinationport => '143,993',
+ order => 260,
+ action => 'ACCEPT';
+ }
+}