mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #213] How to add/del users automatically? #199
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 @wolfwithsheep on GitHub (Nov 12, 2020).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/213
Dear, how to add/del users automatically? And how to check the users's status?
Looking forward to your reply, thanks!
@hwdsl2 commented on GitHub (Nov 13, 2020):
@wolfwithsheep Hello! Please refer to the README. You may use the
envfile [1] to specify multiple users. If you bind mount the env file [2] when creating the Docker container, you will be able to restart the Docker container to take effect (instead of recreating it) after editing users in yourenvfile. Check the container logs [3] to see the list of users for the VPN.[1] https://github.com/hwdsl2/docker-ipsec-vpn-server#environment-variables
[2] https://github.com/hwdsl2/docker-ipsec-vpn-server#bind-mount-the-env-file
[3] https://github.com/hwdsl2/docker-ipsec-vpn-server#retrieve-vpn-login-details
@wolfwithsheep commented on GitHub (Nov 16, 2020):
@hwdsl2 Thanks for your replay again! I am working on it as you said