最近遇到查看服务器的出口IP是多少,可以用如下命令查看:

elinks "http://www.ip138.com/ips138.asp?"


就可以看到服务器出口的IP 是多少了。