ipsec_nat.pp 538 Bytes
Newer Older
Andreas's avatar
Andreas committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
class shorewall::rules::ipsec_nat {
    shorewall::rule {
      'net-me-ipsec-nat-udp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'udp',
        destinationport => '4500',
        order           => 240,
        action          => 'ACCEPT';
      'me-net-ipsec-nat-udp':
        source          => '$FW',
        destination     => 'net',
        proto           => 'udp',
        destinationport => '4500',
        order           => 240,
        action          => 'ACCEPT';
    }
}