Commit c725e8bf authored by intrigeri's avatar intrigeri

Merge remote-tracking branch 'immerda/master'

parents 1a7d66e1 bcded0b6
class shorewall::rules::ipsec {
class shorewall::rules::ipsec(
$source = 'net'
) {
shorewall::rule {
'net-me-ipsec-udp':
source => 'net',
source => $shorewall::rules::ipsec::source,
destination => '$FW',
proto => 'udp',
destinationport => '500',
......@@ -9,20 +11,20 @@ class shorewall::rules::ipsec {
action => 'ACCEPT';
'me-net-ipsec-udp':
source => '$FW',
destination => 'net',
destination => $shorewall::rules::ipsec::source,
proto => 'udp',
destinationport => '500',
order => 240,
action => 'ACCEPT';
'net-me-ipsec':
source => 'net',
source => $shorewall::rules::ipsec::source,
destination => '$FW',
proto => 'esp',
order => 240,
action => 'ACCEPT';
'me-net-ipsec':
source => '$FW',
destination => 'net',
destination => $shorewall::rules::ipsec::source,
proto => 'esp',
order => 240,
action => 'ACCEPT';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment