[GH-ISSUE #178] Unable to test vpn locally on Mac OS X or Linux #162

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

Originally created by @rjurney on GitHub (Mar 7, 2020).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/178

I want to be able to setup an L2TP VPN locally to test this package on. However, the external IP address gets written to /etc/ipsec.conf so when I try to connect it does not respond.

How can I achieve this for testing?

Originally created by @rjurney on GitHub (Mar 7, 2020). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/178 I want to be able to setup an L2TP VPN locally to test this package on. However, the external IP address gets written to /etc/ipsec.conf so when I try to connect it does not respond. How can I achieve this for testing?
kerem closed this issue 2026-03-02 07:44:23 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Apr 12, 2020):

@rjurney Hello! You can override the external IP address that gets written by defining VPN_PUBLIC_IP in your vpn.env [1].

[1] https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/run.sh#L135

<!-- gh-comment-id:612639902 --> @hwdsl2 commented on GitHub (Apr 12, 2020): @rjurney Hello! You can override the external IP address that gets written by defining `VPN_PUBLIC_IP` in your `vpn.env` [1]. [1] https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/run.sh#L135
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#162
No description provided.