mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 18:15:50 +03:00
[GH-ISSUE #210] Couldn't detect public IP #195
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 @attinderdhillon on GitHub (Nov 5, 2020).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/210
It is a ubuntu minimal instance on oracle cloud.
I have installed dns-utils and can get the public ip with 'dig @resolver1.opendns.com -t A -4 myip.opendns.com +short'
I've also tried defining VPN_PUBLIC_IP in "--env-file ./vpn.env"
@hwdsl2 commented on GitHub (Nov 7, 2020):
@attinderdhillon Hello! This may indicate network access problems from within your Docker container. If you read the source code, the
run.shscript tries to detect your server's public IP using both DNS and HTTP methods. Can you test using another Docker image that you are able to access the network (including resolving DNS) from within containers?@attinderdhillon commented on GitHub (Nov 7, 2020):
After recreating instance and installing image It is working perfectly now. Must be an issue at my end.