hwdsl2 / setup-ipsec-vpn

Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Other
24.9k stars 6.28k forks source link

Unable to Connect to Ikev2 protocol #1541

Closed saadabbasi9d closed 5 months ago

saadabbasi9d commented 5 months ago

I am Unable to Connect to Ikev2 protocol using username and password mentioned in /etc/ppp/chapsecrets despite restarting the service . IPSEC/L2tp is working fine but IPSEC/ikev2 with username and pasword is not working but with generated file it is working.

hwdsl2 commented 5 months ago

@saadabbasi9d Hello! For IKEv2 mode, only certificate-based authentication is supported, not username/password. Please refer to the IKEv2 guide for how to configure and manage IKEv2 clients.