openvpn-install
openvpn-install copied to clipboard
Fix Public IP detection - Fix issue when seeip.org is unreachable #1241
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;