在配置arch的时候,由于代理问题拉不下aur,灵机一动想着走手机代理,故有此文。
使用场景: 移动端代理PC端流量实现,手机带电脑翻墙
移动端:安装EveryProxy
PC端(Linux):
命令行配置脚本即可
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| vim ~/.bashrc
proxy(){ export http_proxy="http://ip:port" export http_proxy="https://ip:port" export sock5_proxy="http://ip:port" echo "Proxy On!" }
noproxy(){ export http_proxy="http://ip:port" export http_proxy="https://ip:port" export sock5_proxy="http://ip:port" echo "Proxy Off!" }
|
检查流量出口是否为海外VPS
其他活着的检测IP的网址(从这 cv的)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
| curl ip.gs curl -4 ip.gs curl -6 ip.gs curl ip.sb curl -4 ip.sb curl -6 ip.sb curl cip.cc curl -4 cip.cc curl icanhazip.com curl -4 icanhazip.com curl -6 icanhazip.com curl api.ipify.org curl -4 api.ipify.org curl bot.whatismyipaddress.com curl -4 bot.whatismyipaddress.com curl -6 bot.whatismyipaddress.com curl ipinfo.io/ip curl -4 ipinfo.io/ip curl ipecho.net/plain curl -4 ipecho.net/plain curl ipinfo.io curl -4 ipinfo.io curl -4 myip.ipip.net curl -4 ifconfig.me curl -4 http://members.3322.org/dyndns/getip
curl ifconfig.me curl icanhazip.com curl curlmyip.com curl ip.appspot.com curl ipinfo.io/ip curl ipecho.net/plain curl www.trackip.net/i
curl ip.sb curl ip.6655.com/ip.aspx curl whatismyip.akamai.com wget -qO - ifconfig.co dig +short myip.opendns.com @resolver1.opendns.com curl ident.me curl v4.ident.me curl v6.ident.me curl inet-ip.info
curl ip.6655.com/ip.aspx?area=1 curl 1111.ip138.com/ic.asp curl ip.cn curl cip.cc
|