aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-03-06 14:56:15 +0100
committerMicah Anderson <micah@riseup.net>2011-06-21 12:15:43 -0400
commit19e70974a098d235dcad5014652600ee8fc0e84d (patch)
tree0f78c06fe5fd9985411d16b74da9022982d44372 /manifests
parent1817ee8063a1552c7594c683d9aea5c97ab345c4 (diff)
downloadpuppet-shorewall-19e70974a098d235dcad5014652600ee8fc0e84d.tar.gz
puppet-shorewall-19e70974a098d235dcad5014652600ee8fc0e84d.tar.bz2
add outgoing smtp rule
Diffstat (limited to 'manifests')
-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';
+ }
+}