hwdsl2 / setup-ipsec-vpn

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

IPSEC without certificate #1021

Closed nu07 closed 3 years ago

nu07 commented 3 years ago

can me use ipsec without PSK or ceritiface?

*only hostname,username,password

thank's :)

hwdsl2 commented 3 years ago

@nu07 Hello! Using IPsec without PSK or certificate is not supported in this project.

letoams commented 3 years ago

On Sep 28, 2021, at 09:55, Wisnu Kristanto @.***> wrote:

 can me use ipsec without PSK or ceritiface?

*only hostname,username,password

No. In IKEv1, user/passwd only works in addition to PSK/cert auth. In IKEv2, it can be done with EAP but libreswan does not support EAP yet. The next version will have EAPTLS but they still uses certificates. What you are asking for is not a common deployment method.

Paul

nu07 commented 3 years ago

ok, big thank's for information :)

nu07 commented 3 years ago

what is the solution for ipsec which only uses username and password?

letoams commented 3 years ago

EAP mschapv2

Sent using a virtual keyboard on a phone

On Sep 30, 2021, at 6:02 AM, Wisnu Kristanto @.***> wrote:

 what is the solution for ipsec which only uses username and password?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.