summaryrefslogtreecommitdiff
path: root/scripts/vpn-config.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vpn-config.pl')
-rwxr-xr-xscripts/vpn-config.pl9
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index d1ae5a8..507be1b 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -286,16 +286,13 @@ if ($vcVPN->exists('ipsec')) {
$genout .= "\"\n";
}
- # Set plutoopts:
- # Disable uniqreqids?
+ #
+ # Disable uniqueids
#
if ($vcVPN->exists('ipsec disable-uniqreqids')) {
- $genout .= "\tdisableuniqreqids=yes\n";
+ $genout .= "\tuniqueids=no\n";
}
- #
- # Default keyengine is ikev1
- #
$genout .= "\n";
$genout .= "conn %default\n";
$genout .= "\tkeyexchange=ikev1\n\n";