]> gitweb.fluxo.info Git - puppet-shorewall.git/commitdiff
add outgoing smtp rule
authormh <mh@immerda.ch>
Sun, 6 Mar 2011 13:56:15 +0000 (14:56 +0100)
committerMicah Anderson <micah@riseup.net>
Tue, 21 Jun 2011 16:15:43 +0000 (12:15 -0400)
manifests/rules/out/smtp.pp [new file with mode: 0644]

diff --git a/manifests/rules/out/smtp.pp b/manifests/rules/out/smtp.pp
new file mode 100644 (file)
index 0000000..2cc77cc
--- /dev/null
@@ -0,0 +1,11 @@
+class shorewall::rules::out::smtp {
+    shorewall::rule {
+        'me-net-tcp_smtp':
+            source          =>  '$FW',
+            destination     =>  'net',
+            proto           =>  'tcp',
+            destinationport =>  'smtp',
+            order           =>  240,
+            action          => 'ACCEPT';
+    }
+}