diff options
author | Andreas <andreas@immerda.ch> | 2012-10-02 20:25:48 -0500 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-12-30 16:54:42 +0100 |
commit | 36aa2d024304a6b3356ef8b030136f68954007b3 (patch) | |
tree | 95f9b8dd784c61b0173a8d387a3b6d109bf838c3 /manifests | |
parent | 773b5491530f02b979010ed9e76eac90940d2a1d (diff) |
add shorewall port ipsec_nat=4500 posibility
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index f842ebf..0ef3818 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,7 +1,8 @@ # manage a strongswan class strongswan( $manage_shorewall = false, - $monkeysphere_publish_key = false + $monkeysphere_publish_key = false, + $ipsec_nat = false ) { class{'monkeysphere': @@ -35,5 +36,9 @@ class strongswan( if $manage_shorewall { include shorewall::rules::ipsec + if $ipsec_nat { + include shorewall::rules::ipsec_nat + } + } } |