From: Samir Benmendil Date: Fri, 19 Jul 2013 23:21:25 +0000 (+0200) Subject: use ifconfig.me to get external IP X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/09496b6ff99a67b874af21c1d5a937240912639b use ifconfig.me to get external IP --- diff --git a/bin/whatsmyip b/bin/whatsmyip index a441b43..4b6d080 100755 --- a/bin/whatsmyip +++ b/bin/whatsmyip @@ -1,3 +1,4 @@ #!/bin/bash # only works behind DD-WRT router -ssh root@192.168.1.3 -p 2222 -q "nvram get wan_ipaddr" +#ssh root@192.168.1.3 -p 2222 -q "nvram get wan_ipaddr" +curl ifconfig.me/ip