mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-25 17:45:55 +03:00
[GH-ISSUE #165] username2 and password2 not found #150
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 @WeiWill0605 on GitHub (Oct 8, 2019).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/165
Hi, I am trying to deploy a vpn server on ec2. It works when I add one VPN_ADDL_USERS, but fails when I try to add the second VPN_ADDL_USERS. It complains in this way:
Retrieving VPN credentials...
/opt/src/run.sh: 11: /opt/src/vpn.env: additional_username_2: not found
/opt/src/run.sh: 12: /opt/src/vpn.env: additional_password_2: not found
@hwdsl2 commented on GitHub (Nov 11, 2019):
@WeiWill0605 Hello! It looks like you tried to bind mount the
envfile [1]. To use this method, you must first edit yourenvfile and use single quotes''to enclose the values of all variables. See [1] for more information.[1] https://github.com/hwdsl2/docker-ipsec-vpn-server#bind-mount-the-env-file