#!/bin/sh # $Id: external-ip.sh,v 1.1.1.1 2012/02/21 23:16:22 misho Exp $ # (c) 2010 Reuben Hawkins upnpc -s | grep ExternalIPAddress | sed 's/[^0-9\.]//g'