jabberserver.pp 865 Bytes
Newer Older
mh's avatar
mh committed
1 2 3 4 5 6 7 8 9
class shorewall::rules::jabberserver {
  shorewall::rule {
    'net-me-tcp_jabber':
            source          => 'net',
            destination     => '$FW',
            proto           => 'tcp',
            destinationport => '5222,5223,5269',
            order           => 240,
            action          => 'ACCEPT';
o's avatar
o committed
10 11 12 13 14 15 16
    'net-me-udp_jabber':
            source          => 'net',
            destination     => '$FW',
            proto           => 'udp',
            destinationport => '3478',
            order           => 240,
            action          => 'ACCEPT';
mh's avatar
mh committed
17 18 19 20 21 22 23 24 25 26
    'me-net-tcp_jabber_s2s':
            source          => '$FW',
            destination     => 'net',
            proto           => 'tcp',
            destinationport => '5260,5269,5270,5271,5272',
            order           => 240,
            action          => 'ACCEPT';
  }

}