aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules/out
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-03-06 14:56:15 +0100
committermh <mh@immerda.ch>2011-03-06 14:56:15 +0100
commit7c8cdf47d20460009d560caec21f21346aa48b97 (patch)
treec266830f7683865bfab30ef21be8d2b52a175e08 /manifests/rules/out
parente732ebc597c6ea2b95b84445a1866793d9b90d0d (diff)
downloadpuppet-shorewall-7c8cdf47d20460009d560caec21f21346aa48b97.tar.gz
puppet-shorewall-7c8cdf47d20460009d560caec21f21346aa48b97.tar.bz2
add outgoing smtp rule
Diffstat (limited to 'manifests/rules/out')
-rw-r--r--manifests/rules/out/smtp.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/rules/out/smtp.pp b/manifests/rules/out/smtp.pp
new file mode 100644
index 0000000..2cc77cc
--- /dev/null
+++ b/manifests/rules/out/smtp.pp
@@ -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';
+ }
+}