summaryrefslogtreecommitdiff
path: root/manifests/rules/tinc.pp
blob: 79cf92e43506008cc372942ff69785fd3e34a018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
class shorewall::rules::tinc {
    shorewall::rule { 'net-me-tinc-tcp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'tcp',
        destinationport => '655',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'me-net-tinc-tcp':
        source          => '$FW',
        destination     => 'net',
        proto           => 'tcp',
        destinationport => '655',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'net-me-tinc-udp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'udp',
        destinationport => '655',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'me-net-tinc-udp':
        source          => '$FW',
        destination     => 'net',
        proto           => 'udp',
        destinationport => '655',
        order           => 240,
        action          => 'ACCEPT';
    }
}