aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-09-29 23:26:34 +0200
committerMicah Anderson <micah@riseup.net>2009-12-07 11:34:18 -0500
commit3143f371c7e912bf0ce228a22688fc8e6485f3e2 (patch)
treef05d5ac136c23d3ec99d3268349c190e455c4a86
parentfc07da3b1c5f8385228e25569b96594913bf4c8c (diff)
downloadpuppet-shorewall-3143f371c7e912bf0ce228a22688fc8e6485f3e2.tar.gz
puppet-shorewall-3143f371c7e912bf0ce228a22688fc8e6485f3e2.tar.bz2
add jabberserver port
-rw-r--r--manifests/rules/jabberserver.pp19
1 files changed, 19 insertions, 0 deletions
diff --git a/manifests/rules/jabberserver.pp b/manifests/rules/jabberserver.pp
new file mode 100644
index 0000000..3b38b29
--- /dev/null
+++ b/manifests/rules/jabberserver.pp
@@ -0,0 +1,19 @@
+class shorewall::rules::jabberserver {
+ shorewall::rule {
+ 'net-me-tcp_jabber':
+ source => 'net',
+ destination => '$FW',
+ proto => 'tcp',
+ destinationport => '5222,5223,5269',
+ order => 240,
+ action => 'ACCEPT';
+ 'me-net-tcp_jabber_s2s':
+ source => '$FW',
+ destination => 'net',
+ proto => 'tcp',
+ destinationport => '5260,5269,5270,5271,5272',
+ order => 240,
+ action => 'ACCEPT';
+ }
+
+}