Find out your router’s external IP address using the Linux command line
If you want to find out what external IP address your router has assigned to it, you can either search the Internet for sites that can display that said IP address or you can use the Linux command line: wget -O – -q icanhazip.com