X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/caa72b3a3079cb74996f1c8b0c9fc36754087c1e..5c9d34b7621f96e07ccb4ad5f2f8b08d8d01672b:/bin/whatsmyip?ds=sidebyside diff --git a/bin/whatsmyip b/bin/whatsmyip index ed417b2..4b6d080 100755 --- a/bin/whatsmyip +++ b/bin/whatsmyip @@ -1,2 +1,4 @@ #!/bin/bash -wget http://automation.whatismyip.com/n09230945.asp -qO - +# only works behind DD-WRT router +#ssh root@192.168.1.3 -p 2222 -q "nvram get wan_ipaddr" +curl ifconfig.me/ip