安装warp-go
首次运行
wget -N https://raw.githubusercontent.com/fscarmen/warp/main/warp-go.sh && bash warp-go.sh [option] [lisence]
再次运行
warp-go [option] [lisence]
[option] 变量1 变量2 | 具体动作说明 |
---|---|
h | 帮助 |
4 | 原无论任何状态 -> WARP IPv4 |
4 lisence name | 把 WARP+ Lisence 和设备名添加进去,如 bash wire-go 4 N5670ljg-sS9jD334-6o6g4M9F Goodluck |
6 | 原无论任何状态 -> WARP IPv6 |
d | 原无论任何状态 -> WARP 双栈 |
o | warp-go 开关,脚本主动判断当前状态,自动开或关 |
u | 卸载 warp-go |
a | 免费 WARP 账户升级 WARP+ |
a lisence name | 在上面基础上把 WARP+ Lisence 和设备名添加进去,如 bash menu.sh a N5670ljg-sS9jD334-6o6g4M9F Goodluck |
v | 同步脚本至最新版本 |
其他或空值 | 菜单界面 |
warp-go 设置非全局
将提示安装,选择免费warp帐号即可
bash warp-go.sh 4
将流量导入到WARP网卡
相当于使用CF的网络去访问bing.com, 通过 ip.sb 和 ip111.cn 分别查看是否导入成功
"outbounds": [ { "tag": "INTERNET_OUT", "protocol": "freedom", "settings": { "domainStrategy": "UseIP" } }, { "tag": "WARP-GO", "protocol": "freedom", "settings": { "domainStrategy": "UseIPv4" }, "sendThrough": "172.16.0.2" } ], "dns": { "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", "8.8.4.4", "localhost" ] }, "routing": { "domainStrategy": "AsIs", "rules": [ { "type": "field", "outboundTag": "WARP-GO", "domain": [ "geosite:google", "geosite:netflix", "domain:ip.sb", "domain:openai.com", "domain:ip111.cn" ] }, { "type": "field", "outboundTag": "INTERNET_OUT", "network": "udp,tcp" } ] }
客户端设置
dns设置
{ "servers": [ { "address": "1.1.1.1", "port": 53, "domains": [ "bing.com" ] } ] }
pac设置
! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||githubusercontent.com
||bing.com