aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-02-07 00:31:33 +0100
committermh <mh@immerda.ch>2011-02-07 00:31:33 +0100
commit0c5826db92e1e8556b89a3804079e96fb4abffb0 (patch)
treeff124a766b9feb8884d7ff0060ff21c62a17cbdb
parentd0d76dc943e3521e706918e23f20bb85f5c4c1b8 (diff)
downloadpuppet-shorewall-0c5826db92e1e8556b89a3804079e96fb4abffb0.tar.gz
puppet-shorewall-0c5826db92e1e8556b89a3804079e96fb4abffb0.tar.bz2
add irc & irc-ssl outgoing rules
-rw-r--r--manifests/rules/out/irc.pp10
-rw-r--r--manifests/rules/out/ircs.pp10
2 files changed, 20 insertions, 0 deletions
diff --git a/manifests/rules/out/irc.pp b/manifests/rules/out/irc.pp
new file mode 100644
index 0000000..9c8590a
--- /dev/null
+++ b/manifests/rules/out/irc.pp
@@ -0,0 +1,10 @@
+class shorewall::rules::out::irc {
+ shorewall::rule{'me-net-irc-tcp':
+ source => '$FW',
+ destination => 'net',
+ proto => 'tcp',
+ destinationport => '6667',
+ order => 240,
+ action => 'ACCEPT';
+ }
+}
diff --git a/manifests/rules/out/ircs.pp b/manifests/rules/out/ircs.pp
new file mode 100644
index 0000000..a71585d
--- /dev/null
+++ b/manifests/rules/out/ircs.pp
@@ -0,0 +1,10 @@
+class shorewall::rules::out::ircs {
+ shorewall::rule{'me-net-ircs-tcp':
+ source => '$FW',
+ destination => 'net',
+ proto => 'tcp',
+ destinationport => '6669',
+ order => 240,
+ action => 'ACCEPT';
+ }
+}