diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/vpn.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/inc/vpn.inc b/src/etc/inc/vpn.inc index bca533e..f6d2fd5 100644 --- a/src/etc/inc/vpn.inc +++ b/src/etc/inc/vpn.inc @@ -1113,6 +1113,7 @@ EOD; $authentication .= "\n\trightauth2 = xauth-generic"; if (!empty($ph1ent['certref'])) { $authentication .= "\n\tleftcert={$certpath}/cert-{$ph1ent['ikeid']}.crt"; + $authentication .= "\n\tleftsendcert=always"; } if (isset($casub)) { $authentication .= "\n\trightca=\"$casub\""; @@ -1129,6 +1130,7 @@ EOD; $authentication = "leftauth = pubkey\n\trightauth = pubkey"; if (!empty($ph1ent['certref'])) { $authentication .= "\n\tleftcert={$certpath}/cert-{$ph1ent['ikeid']}.crt"; + $authentication .= "\n\tleftsendcert=always"; } if (isset($casub)) { $authentication .= "\n\trightca=\"$casub\""; @@ -1138,6 +1140,7 @@ EOD; $authentication = "leftauth = pubkey\n\trightauth = xauth-generic"; if (!empty($ph1ent['certref'])) { $authentication .= "\n\tleftcert={$certpath}/cert-{$ph1ent['ikeid']}.crt"; + $authentication .= "\n\tleftsendcert=always"; } break; } |