From 3143f371c7e912bf0ce228a22688fc8e6485f3e2 Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 29 Sep 2009 23:26:34 +0200 Subject: add jabberserver port --- manifests/rules/jabberserver.pp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 manifests/rules/jabberserver.pp (limited to 'manifests/rules/jabberserver.pp') 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'; + } + +} -- cgit v1.2.3