[GH-ISSUE #159] Additional user - unable to specify IP address from ENV variable #146

Closed
opened 2026-03-02 07:28:04 +03:00 by kerem · 1 comment
Owner

Originally created by @wolasss on GitHub (Aug 19, 2019).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/159

First of all, thank you for all the work you do on this!

Currently there is no way to specify a specific-static IP address for the users (In run.sh you have hard-coded * sign). In order to do this, I have to modify insides of the container and edit the /etc/ppp/chap-secrets and change '*' to a specific IP address like:

"testuser" l2tpd "testpassword" 192.168.42.2

And that works quite well. But I think one should be able to specify such static IP address from the env variable when you build the container. What do you think?

Originally created by @wolasss on GitHub (Aug 19, 2019). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/159 First of all, thank you for all the work you do on this! Currently there is no way to specify a specific-static IP address for the users (In run.sh you have hard-coded * sign). In order to do this, I have to modify insides of the container and edit the `/etc/ppp/chap-secrets` and change '*' to a specific IP address like: "testuser" l2tpd "testpassword" 192.168.42.2 And that works quite well. But I think one should be able to specify such static IP address from the env variable when you build the container. What do you think?
kerem closed this issue 2026-03-02 07:28:04 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Oct 1, 2019):

@wolasss Thank you for your suggestion. This is an uncommon use case and it is not easy to support env variables in the case of multiple VPN users. Therefore this feature won’t be added at this time, however you can build your own customized Docket image using the build from source instructions from the README.

<!-- gh-comment-id:536807427 --> @hwdsl2 commented on GitHub (Oct 1, 2019): @wolasss Thank you for your suggestion. This is an uncommon use case and it is not easy to support env variables in the case of multiple VPN users. Therefore this feature won’t be added at this time, however you can build your own customized Docket image using the build from source instructions from the README.
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#146
No description provided.