From 36aa2d024304a6b3356ef8b030136f68954007b3 Mon Sep 17 00:00:00 2001 From: Andreas Date: Tue, 2 Oct 2012 20:25:48 -0500 Subject: add shorewall port ipsec_nat=4500 posibility --- manifests/init.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'manifests') 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 + } + } } -- cgit v1.2.3