From d0d76dc943e3521e706918e23f20bb85f5c4c1b8 Mon Sep 17 00:00:00 2001
From: mh <mh@immerda.ch>
Date: Thu, 4 Nov 2010 19:31:55 +0100
Subject: add silc rules

---
 manifests/rules/out/silc.pp | 19 +++++++++++++++++++
 manifests/rules/silcd.pp    | 19 +++++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 manifests/rules/out/silc.pp
 create mode 100644 manifests/rules/silcd.pp

diff --git a/manifests/rules/out/silc.pp b/manifests/rules/out/silc.pp
new file mode 100644
index 0000000..830df9c
--- /dev/null
+++ b/manifests/rules/out/silc.pp
@@ -0,0 +1,19 @@
+class shorewall::rules::out::silc {
+  shorewall::rule{
+    'me-net-silc-tcp':
+      source          => '$FW',
+      destination     => 'net',
+      proto           => 'tcp',
+      destinationport => '706',
+      order           => 240,
+      action          => 'ACCEPT';
+    'me-net-silc-udp':
+      source          => '$FW',
+      destination     => 'net',
+      proto           => 'udp',
+      destinationport => '706',
+      order           => 240,
+      action          => 'ACCEPT';
+
+  }
+}
diff --git a/manifests/rules/silcd.pp b/manifests/rules/silcd.pp
new file mode 100644
index 0000000..91ee4a5
--- /dev/null
+++ b/manifests/rules/silcd.pp
@@ -0,0 +1,19 @@
+class shorewall::rules::silcd {
+  shorewall::rule{
+    'net-me-silcd-tcp':
+      source          => 'net',
+      destination     => '$FW',
+      proto           => 'tcp',
+      destinationport => '706',
+      order           => 240,
+      action          => 'ACCEPT';
+    'net-me-silcd-udp':
+      source          => 'net',
+      destination     => '$FW',
+      proto           => 'udp',
+      destinationport => '706',
+      order           => 240,
+      action          => 'ACCEPT';
+
+  }
+}
-- 
cgit v1.2.3