openvpn-install icon indicating copy to clipboard operation
openvpn-install copied to clipboard

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

Open ralphg6 opened this issue 6 months ago • 1 comments

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 avatar Aug 10 '24 18:08 ralphg6