[GH-ISSUE #213] How to add/del users automatically? #199

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

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!

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!
kerem closed this issue 2026-03-02 07:44:42 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Nov 13, 2020):

@wolfwithsheep Hello! Please refer to the README. You may use the env file [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 your env file. 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

<!-- gh-comment-id:726487459 --> @hwdsl2 commented on GitHub (Nov 13, 2020): @wolfwithsheep Hello! Please refer to the README. You may use the `env` file [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 your `env` file. 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
Author
Owner

@wolfwithsheep commented on GitHub (Nov 16, 2020):

@hwdsl2 Thanks for your replay again! I am working on it as you said

<!-- gh-comment-id:727751638 --> @wolfwithsheep commented on GitHub (Nov 16, 2020): @hwdsl2 Thanks for your replay again! I am working on it as you said
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#199
No description provided.