diff options
author | Robert Bays <rbays@roatan.(none)> | 2009-10-27 11:18:25 -0700 |
---|---|---|
committer | Robert Bays <rbays@roatan.(none)> | 2009-10-27 11:18:25 -0700 |
commit | c3ee2dc67649d1cb8dee0ac04cc758017ad6fcef (patch) | |
tree | 06eacab26755dc368a5ebb4be50f518bc7194139 /scripts | |
parent | adc7c27ba69fb2fd7325544087e6a7cf1457b89d (diff) | |
download | vyatta-cfg-vpn-c3ee2dc67649d1cb8dee0ac04cc758017ad6fcef.tar.gz vyatta-cfg-vpn-c3ee2dc67649d1cb8dee0ac04cc758017ad6fcef.zip |
add support for same reqids to openswan cfg
Diffstat (limited to 'scripts')
-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 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 # |