标签:出口ip
wget -o /dev/null -O - 123cha.com|grep ‘a href=/ip‘|sed ‘s/.*a href=\/ip\/?q=\([0-9\.]*\)>.*/\1/g‘
wget -o /dev/null -O - http://members.3322.org/dyndns/getip
server{
server_name 192.168.188.133;
listen 80;
location / {
content_by_lua ‘ngx.print(ngx.var.remote_addr)‘;
}
}
server{
server_name 192.168.188.133;
listen 80;
location / {
echo $remote_addr;
}
}
本文出自 “我的《奋斗》” 博客,请务必保留此出处http://wangmukun.blog.51cto.com/651644/1579720
标签:出口ip
原文地址:http://wangmukun.blog.51cto.com/651644/1579720