mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #159] Additional user - unable to specify IP address from ENV variable #146
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 @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-secretsand 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?
@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.