mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-27 02:25:51 +03:00
[GH-ISSUE #275] Environment variables to define ip-range and static ips #255
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 @almico on GitHub (Jan 18, 2022).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/275
Checklist
Describe the enhancement request
I would like to have environment variables to define:
ip range = 192.168.42.100-192.168.42.250Is your enhancement request related to a problem? Please describe.
In a setup where the physical server acts also as a router, I would like to allow specific VPN users (via their statically assigned VPN IP) to access the outside world and / or the local network. I would like to achieve this relying only on environment variables.
Additional context
None.
@hwdsl2 commented on GitHub (Jan 19, 2022):
@almico Hello! Thank you for your suggestions. For information on per-user static IPs, please refer to [1]. To set a different IP range, you may modify these lines [2] in
run.sh.I understand that you would like to make these customizable using variables in an
envfile. However, these customizations are not common use cases, and can be difficult to implement. Currently, there are no plans to add them.With that said, you can instead get the source code of this project and customize and build a Docker image yourself [3], according to the license.
[1] https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/advanced-usage.md#internal-vpn-ips-and-traffic
[2]
github.com/hwdsl2/docker-ipsec-vpn-server@e8c25d2333/run.sh (L250-L254)[3] https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/docs/advanced-usage.md#build-from-source-code