Basically, a script running on your OpenWRT box makes a GET from a remote web server that "politely" returns your public IP. The script extracts your public IP from the response, and uses that.
Basically, a script running on your OpenWRT box makes a GET from a remote web server that "politely" returns your public IP. The script extracts your public IP from the response, and uses that.