Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Public IP detection - Fix issue when seeip.org is unreachable #1241 #1243

Merged
merged 9 commits into from
Nov 7, 2024

Conversation

ralphg6
Copy link
Contributor

@ralphg6 ralphg6 commented Aug 10, 2024

The script does work when seeip.org is unreachable, so I changed the policy to define the public IP.

It solves the issue #1241

CHANGELOG

Added

  • Timeout limit on each try to solve the IP to avoid long waits;
  • Extra public IP providers as failovers;

Changed

  • the script only will try to solve an IP if the ENDPOINT is empty;

Removed

  • Unneeded output of CURL commands on IP detection;
  • Duplicated code;

@ralphg6
Copy link
Contributor Author

ralphg6 commented Aug 10, 2024

Solves #1241

openvpn-install.sh Outdated Show resolved Hide resolved
@angristan
Copy link
Owner

Thanks 🙏 I updated the seeip.org endpoint

openvpn-install.sh Outdated Show resolved Hide resolved
@angristan angristan merged commit e1f19e0 into angristan:master Nov 7, 2024
1 check passed
@angristan
Copy link
Owner

Thanks again, this is great 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants