OPNsense Forum

English Forums => Virtual private networks => Topic started by: xkapr on December 22, 2022, 01:49:56 PM

Title: IKEv2 EAP-MSCHAPv2
Post by: xkapr on December 22, 2022, 01:49:56 PM
Hi I have configured IPsec acording to this documentation:
https://docs.opnsense.org/manual/how-tos/ipsec-rw-srv-mschapv2.html

There is no trouble when I add user according to step 4
Go to VPN ‣ IPsec ‣ Pre-Shared Keys and press Add.
user:user
password:password
type:EAP

If a user exist in local database there is a error message
The following input errors were detected:
A user with this name already exists. Add the key to the user instead.

The trouble is that user cannot login when I add preshared key in System ‣ Access‣ 
The preshared key is listed then in VPN ‣ IPsec ‣ Pre-Shared Keys as PSK and cannot be changed to EAP.