mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #449] Can psk mode ikev2 connections be supported #420
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HX-Technology-LLC on GitHub (Oct 17, 2024).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/449
Checklist
Describe the enhancement request
A clear and concise description of your enhancement request.
Support the psk mode in ikev2 connections
Is your enhancement request related to a problem? Please describe.
(If applicable) A clear and concise description of what the problem is.
The current ikev2 connection based on machine certificates is a bit complicated, especially when importing certificates and replacing them. If you use psk you can simply change the key .
Additional context
Add any other context about the enhancement request here.
If this is not directly supported, can I manually modify the libreswan config file to enable this functionality.
@hwdsl2 commented on GitHub (Oct 17, 2024):
@HX-Technology-LLC Hello! IKEv2 mode with PSK is not currently supported in this project. If you want to explore that functionality yourself, you can learn more about IPsec configuration at:
https://libreswan.org/man/ipsec.conf.5.html
https://libreswan.org/wiki/Configuration_examples
To make changes to the VPN configuration, you can open a Bash shell inside the container, then edit
/etc/ipsec.d/ikev2.conf. When finished, exit the container and restart the Docker container.