hwdsl2 / setup-ipsec-vpn

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

IKEV2 username and password only authentication #1139

Closed amirdana closed 2 years ago

amirdana commented 2 years ago

hi everybody

i was just wondering is there a server configuration that allows users to connect with username and password only (no certificates). i have problem hosting the files and it would be very neat to use username and pass only.

thanks for the great job you doing.

letoams commented 2 years ago

On Thu, 24 Mar 2022, Amirhosssein Lavasani wrote:

i was just wondering is there a server configuration that allows users to connect with username and password only (no certificates). i have problem hosting the files and it would be very neat to use username and pass only.

Not yet. That would create different EAP methods and/or one of the PAKE methods to be implemented. (eg RFC 6467 https://tools.ietf.org/html/rfc6467)

bobbyl140 commented 1 month ago

Hey, it's been a while since this issue was updated. This other project uses strongSwan which seems to support this function, obviously this project uses libreswan but it seems to me that it should be possible in libreswan in the end. I know this isn't something that's up to this project to implement until libreswan updates, but I was wondering if anyone can direct me to somewhere I could keep updated on the progress of that. Thanks!