mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #460] Cannot disable IKEv2 in Docker Environment #430
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 @hartundweich on GitHub (Nov 28, 2024).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/460
Describe the issue
I want to disable the IKEv2 feature as it is not needed in my environment.
I'm running on docker and deleteed already all files in the mounted docker volume and removed IKEv2 by running
ikev2.sh --removeikev2
Environment variable VPN_SKIP_IKEV2 is set to yes
Restarting the docker image is still showing in logs
IKEv2 setup successful. Details for IKEv2 mode:
And certificates are generated
To Reproduce
Always
Expected behavior
IKEv2 should be disabled permanent
Logs
Setting up IKEv2. This may take a few moments...
IKEv2 setup successful. Details for IKEv2 mode:
VPN server address: vpn.hartundweich.at
VPN client name: vpnclient
Client configuration is available inside the
Docker container at:
/etc/ipsec.d/vpnclient.p12 (for Windows & Linux)
/etc/ipsec.d/vpnclient.sswan (for Android)
/etc/ipsec.d/vpnclient.mobileconfig (for iOS & macOS)
Next steps: Configure IKEv2 clients. See:
https://vpnsetup.net/clients2
Server (please complete the following information)
Client (please complete the following information)
n/a
Additional context
n/a
@hwdsl2 commented on GitHub (Nov 28, 2024):
@hartundweich Hello! For your use case, the
VPN_SKIP_IKEV2variable is only applicable to hwdsl2/setup-ipsec-vpn, but not this project. The correct way to disable IKEv2 is to NOT mount theikev2-vpn-datavolume when creating the Docker container. For more details, see Start the IPsec VPN server. Quote:Alternatively, you may also build a customized Docker image. See "Build from source code" in project README.
@hartundweich commented on GitHub (Nov 28, 2024):
OK sorry my fault - i thought I checked everything twice and was sure to have everything searched for a solution.
Thank you for your support