summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-11-04 19:31:55 +0100
committermh <mh@immerda.ch>2010-11-04 19:31:55 +0100
commitd0d76dc943e3521e706918e23f20bb85f5c4c1b8 (patch)
tree8bf06f90845edb450aa7731a3501b4d2f1e66207
parent2e9d8ed388bc20693888f74ae704022ebf4a9900 (diff)
add silc rules
-rw-r--r--manifests/rules/out/silc.pp19
-rw-r--r--manifests/rules/silcd.pp19
2 files changed, 38 insertions, 0 deletions
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';
+
+ }
+}