You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.
On my Ubuntu 16 server install the line:
SERVER_HOST=$(ip addr | grep 'inet' | grep -v inet6 | grep -vE '127.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}' | grep -oE '[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}' | head -1)
was producing my server's lan IP and I was unable to connect to websites on iOS
Changing that line to:
SERVER_HOST="$(dig +short myip.opendns.com @resolver1.opendns.com)"
found my WAN IP and I was able to connect
I didn't do a pull request because I don't know if that would break other distros
The text was updated successfully, but these errors were encountered: