summaryrefslogtreecommitdiff
path: root/manifests/rules/ipsec.pp
blob: 3e9db55317dd8586e93df9fd5cd1bbc97241a7cf (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
class shorewall::rules::ipsec {
    shorewall::rule {
      'net-me-ipsec-udp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'udp',
        destinationport => '500',
        order           => 240,
        action          => 'ACCEPT';
      'me-net-ipsec-udp':
        source          => '$FW',
        destination     => 'net',
        proto           => 'udp',
        destinationport => '500',
        order           => 240,
        action          => 'ACCEPT';
      'net-me-ipsec':
        source          => 'net',
        destination     => '$FW',
        proto           => 'esp',
        order           => 240,
        action          => 'ACCEPT';
      'me-net-ipsec':
        source          => '$FW',
        destination     => 'net',
        proto           => 'esp',
        order           => 240,
        action          => 'ACCEPT';
    }
}