mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 10:05:48 +03:00
[GH-ISSUE #85] Force what IP address can be used #74
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 @pdwonline on GitHub (Jul 20, 2018).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/85
My VPN is hosted on a server in a network that is segmented in a semi public building. This means that the there are different routes to my server
When I start the VPN server, it will determine the IP addres automatically as seen in the log:
Trying to auto discover IP of this server
IPsec VPN server is now ready for use!
Connect to your new VPN with these details:
Server IP: xxx.yyy.xxx.yyy
I need to force this IP address to be different, however, I could not determine a setting for it..
@hwdsl2 commented on GitHub (Jul 23, 2018):
@pdwonline Hello! Append this line in your
vpn.envfile:Then remove and recreate the Docker container using instructions from the README [1].
[1] https://github.com/hwdsl2/docker-ipsec-vpn-server#update-docker-image