summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Bays <rbays@roatan.(none)>2009-10-27 11:18:25 -0700
committerRobert Bays <rbays@roatan.(none)>2009-10-27 11:18:25 -0700
commitc3ee2dc67649d1cb8dee0ac04cc758017ad6fcef (patch)
tree06eacab26755dc368a5ebb4be50f518bc7194139 /scripts
parentadc7c27ba69fb2fd7325544087e6a7cf1457b89d (diff)
downloadvyatta-cfg-vpn-c3ee2dc67649d1cb8dee0ac04cc758017ad6fcef.tar.gz
vyatta-cfg-vpn-c3ee2dc67649d1cb8dee0ac04cc758017ad6fcef.zip
add support for same reqids to openswan cfg
Diffstat (limited to 'scripts')
-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 30b8a2a..3410cab 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -358,6 +358,13 @@ if ($vcVPN->exists('ipsec')) {
$genout .= "\tnhelpers=5\n";
$genout .= "\tplutowait=yes\n";
+ # Set plutoopts:
+ # Disable uniqreqids?
+ #
+ if ($vcVPN->exists('ipsec disable-uniqreqids')) {
+ $genout .= "\tplutoopts=--disable-uniqreqids\n";
+ }
+
#
# Disable implicit connections
#