summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaurabh Mohan <saurabh@vyatta.com>2012-05-17 13:40:58 -0700
committerSaurabh Mohan <saurabh@vyatta.com>2012-05-17 13:40:58 -0700
commit4a7dd278fe270058e985797c10e99fad837662a3 (patch)
tree927c4f433edf837b9fec492622dcfa4bc36cc190
parente46d2937711e4fec4c09191cbdbbd9149206eb6d (diff)
downloadvyatta-cfg-vpn-4a7dd278fe270058e985797c10e99fad837662a3.tar.gz
vyatta-cfg-vpn-4a7dd278fe270058e985797c10e99fad837662a3.zip
Default keyexchange ikev1.
-rwxr-xr-xscripts/vpn-config.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index e91d1cd..3d104ae 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -386,6 +386,13 @@ if ( $vcVPN->exists('ipsec') ) {
}
#
+ # Default keyengine is ikev1
+ #
+ $genout .= "\n";
+ $genout .= "conn %default\n";
+ $genout .= "\tkeyexchange=ikev1\n\n";
+
+ #
# Connection configurations
#
my @peers = $vcVPN->listNodes('ipsec site-to-site peer');