因为某种原因,需要知道本地服务器出口IP,
可以用以下方法检测:

$ wget http://members.3322.org/dyndns/getip
$ cat getip