[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to determine WAN IP address from behind a NAT router?



/sbin/ifconfig eth0 | grep 'inet add' | awk '{print $2}' |cut -d ' '  -f 12 |
cut -d: -f 2"



Reply to: