summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-10-03 16:53:55 +0200
committerMicah Anderson <micah@riseup.net>2009-12-07 11:34:39 -0500
commit340255d445c76107eabaaf29c5d8c87f9fe09563 (patch)
tree3cdd054377b46d97e2041f2e635d8e244e10dc81
parent94e1638a1156e58057808e8175a6db71b3268633 (diff)
add pop3 rules
-rw-r--r--manifests/rules/out/pop3.pp11
-rw-r--r--manifests/rules/pop3.pp11
2 files changed, 22 insertions, 0 deletions
diff --git a/manifests/rules/out/pop3.pp b/manifests/rules/out/pop3.pp
new file mode 100644
index 0000000..ebd4828
--- /dev/null
+++ b/manifests/rules/out/pop3.pp
@@ -0,0 +1,11 @@
+class shorewall::rules::out::pop3 {
+ shorewall::rule {
+ 'me-net-tcp_pop3_s':
+ source => '$FW',
+ destination => 'net',
+ proto => 'tcp',
+ destinationport => 'pop3,pop3s',
+ order => 260,
+ action => 'ACCEPT';
+ }
+}
diff --git a/manifests/rules/pop3.pp b/manifests/rules/pop3.pp
new file mode 100644
index 0000000..2587856
--- /dev/null
+++ b/manifests/rules/pop3.pp
@@ -0,0 +1,11 @@
+class shorewall::rules::pop3 {
+ shorewall::rule {
+ 'net-me-tcp_pop3_s':
+ source => 'net',
+ destination => '$FW',
+ proto => 'tcp',
+ destinationport => 'pop3,pop3s',
+ order => 260,
+ action => 'ACCEPT';
+ }
+}