Linux中获取外网ip的办法

curl myip.dnsomatic.com

curl members.3322.org/dyndns/getip