[GH-ISSUE #226] VPN_SETUP_IKEV2 ineffective #209

Closed
opened 2026-03-02 07:44:46 +03:00 by kerem · 2 comments
Owner

Originally created by @johntoms on GitHub (Feb 3, 2021).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/226

this can be start but ikev2 not ineffective

env

# export
declare -x HOME="/root"
declare -x HOSTNAME=""
declare -x IMAGE_VER="2021-02-01T08:00:46Z"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
declare -x PWD="/opt/src"
declare -x SHLVL="1"
declare -x SWAN_VER="4.1"
declare -x TERM="xterm"
declare -x VPN_SETUP_IKEV2="yes"
# cat vpn-gen.env
VPN_IPSEC_PSK='*****'
VPN_USER='*****'
VPN_PASSWORD='*****'
# export
declare -x HOME="/root"
declare -x HOSTNAME=""
declare -x IMAGE_VER="2021-02-01T08:00:46Z"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
declare -x PWD="/opt/src"
declare -x SHLVL="1"
declare -x SWAN_VER="4.1"
declare -x TERM="xterm"
declare -x VPN_SETUP_IKEV2="yes"
# cat vpn-gen.env
VPN_IPSEC_PSK='*****'
VPN_USER='*****'
VPN_PASSWORD='*****'

no ikev2setup.log file

docker exec -it ipsec-vpn-server cat /etc/ipsec.d/ikev2setup.log
Error no such this file
Originally created by @johntoms on GitHub (Feb 3, 2021). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/226 # this can be start but ikev2 not ineffective ## env ``` # export declare -x HOME="/root" declare -x HOSTNAME="" declare -x IMAGE_VER="2021-02-01T08:00:46Z" declare -x OLDPWD declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" declare -x PWD="/opt/src" declare -x SHLVL="1" declare -x SWAN_VER="4.1" declare -x TERM="xterm" declare -x VPN_SETUP_IKEV2="yes" # cat vpn-gen.env VPN_IPSEC_PSK='*****' VPN_USER='*****' VPN_PASSWORD='*****' # export declare -x HOME="/root" declare -x HOSTNAME="" declare -x IMAGE_VER="2021-02-01T08:00:46Z" declare -x OLDPWD declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" declare -x PWD="/opt/src" declare -x SHLVL="1" declare -x SWAN_VER="4.1" declare -x TERM="xterm" declare -x VPN_SETUP_IKEV2="yes" # cat vpn-gen.env VPN_IPSEC_PSK='*****' VPN_USER='*****' VPN_PASSWORD='*****' ``` ## no ikev2setup.log file ``` docker exec -it ipsec-vpn-server cat /etc/ipsec.d/ikev2setup.log Error no such this file ```
kerem closed this issue 2026-03-02 07:44:46 +03:00
Author
Owner

@johntoms commented on GitHub (Feb 3, 2021):

I think I solve this problem.
Because ikev2.sh is empty. the latest image /opt/src/ikev2.sh is empty, can you check it ?

<!-- gh-comment-id:772331361 --> @johntoms commented on GitHub (Feb 3, 2021): I think I solve this problem. Because `ikev2.sh` is empty. the latest image `/opt/src/ikev2.sh` is empty, can you check it ?
Author
Owner

@hwdsl2 commented on GitHub (Feb 3, 2021):

@johntoms Hello! The Docker image tries to download and run the IKEv2 setup script, if you enable IKEv2. The issue you described is probably because the download failed for some reason. You should see an error in the container log output for that. To make this experience better, I'll try to include a copy of the IKEv2 script in the Docker image.

<!-- gh-comment-id:772645944 --> @hwdsl2 commented on GitHub (Feb 3, 2021): @johntoms Hello! The Docker image tries to download and run the IKEv2 setup script, if you enable IKEv2. The issue you described is probably because the download failed for some reason. You should see an error in the container log output for that. To make this experience better, I'll try to include a copy of the IKEv2 script in the Docker image.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-ipsec-vpn-server#209
No description provided.