]> gitweb.fluxo.info Git - puppet-shorewall.git/commitdiff
add irc & irc-ssl outgoing rules
authormh <mh@immerda.ch>
Sun, 6 Feb 2011 23:31:33 +0000 (00:31 +0100)
committermh <mh@immerda.ch>
Sun, 6 Feb 2011 23:31:33 +0000 (00:31 +0100)
manifests/rules/out/irc.pp [new file with mode: 0644]
manifests/rules/out/ircs.pp [new file with mode: 0644]

diff --git a/manifests/rules/out/irc.pp b/manifests/rules/out/irc.pp
new file mode 100644 (file)
index 0000000..9c8590a
--- /dev/null
@@ -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 (file)
index 0000000..a71585d
--- /dev/null
@@ -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';
+    }
+}