diff options
author | Saurabh Mohan <saurabh@vyatta.com> | 2012-05-17 13:40:58 -0700 |
---|---|---|
committer | Saurabh Mohan <saurabh@vyatta.com> | 2012-05-17 13:40:58 -0700 |
commit | 4a7dd278fe270058e985797c10e99fad837662a3 (patch) | |
tree | 927c4f433edf837b9fec492622dcfa4bc36cc190 | |
parent | e46d2937711e4fec4c09191cbdbbd9149206eb6d (diff) | |
download | vyatta-cfg-vpn-4a7dd278fe270058e985797c10e99fad837662a3.tar.gz vyatta-cfg-vpn-4a7dd278fe270058e985797c10e99fad837662a3.zip |
Default keyexchange ikev1.
-rwxr-xr-x | scripts/vpn-config.pl | 7 |
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'); |