Update README.md

main
fscarmen 2 years ago committed by GitHub
parent 1de2b4778d
commit 3b07f1e002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 58
      README.md

@ -398,52 +398,56 @@ kill -9 $(pgrep -f warp) ##杀掉正在运行的进程
"protocol":"freedom" "protocol":"freedom"
}, },
{ {
"tag":"WARP-interface-v4", "tag":"warp",
"protocol":"socks",
"settings":{
"servers":[
{
"address":"127.0.0.1",
"port":40000 // 填写你的 socks5 端口
}
]
}
},
{
"tag":"WARP-socks5-v4",
"protocol":"freedom", "protocol":"freedom",
"settings":{ "settings":{
"domainStrategy":"UseIPv4" "domainStrategy":"UseIPv4"
}, },
"streamSettings":{ "proxySettings":{
"sockopt":{ "tag":"warp"
"interface":"CloudflareWARP", // Client 的 Proxy 模式填 CloudflareWARP 或者 warp-go 填 WARP
"tcpFastOpen":true
}
} }
}, },
{ {
"tag":"WARP-interface-v6", "tag":"WARP-socks5-v6",
"protocol":"freedom", "protocol":"freedom",
"settings":{ "settings":{
"domainStrategy":"UseIPv6" "domainStrategy":"UseIPv6"
}, },
"streamSettings":{ "proxySettings":{
"sockopt":{ "tag":"warp"
"interface":"CloudflareWARP",
"tcpFastOpen":true
}
} }
} }
], ],
"routing":{ "routing":{
"domainStrategy":"AsIs",
"rules":[ "rules":[
{ {
"type":"field", "type":"field",
"domain":[ "domain":[
"geosite:google", "openai",
"domain:ip.gs", "ai.com",
"domain:openai.com", "ip.gs"
"domain:ai.com"
], ],
"outboundTag":"WARP-interface-v4" "outboundTag":"WARP-socks5-v4"
}, },
{ {
"type":"field", "type":"field",
"domain":[ "domain":[
"geosite:netflix", "p3terx.com",
"domain:p3terx.com" "netflix"
], ],
"outboundTag":"WARP-interface-v6" "outboundTag":"WARP-socks5-v6"
} }
] ]
} }
@ -452,8 +456,6 @@ kill -9 $(pgrep -f warp) ##杀掉正在运行的进程
## 指定网站分流到 "interface" 的 xray 配置模板(适用于 WARP Client Warp 和 warp-go 非全局) ## 指定网站分流到 "interface" 的 xray 配置模板(适用于 WARP Client Warp 和 warp-go 非全局)
感谢 LUDAN 老师提供的网络接口分流配置模板,注意:172.16.0.2 为 CloudFlareWARP 网络接口的 IP
``` ```
{ {
"outbounds":[ "outbounds":[
@ -461,20 +463,20 @@ kill -9 $(pgrep -f warp) ##杀掉正在运行的进程
"protocol":"freedom" "protocol":"freedom"
}, },
{ {
"tag":"CloudflareWARP-v4", "tag":"WARP-interface-v4",
"protocol":"freedom", "protocol":"freedom",
"settings":{ "settings":{
"domainStrategy":"UseIPv4" "domainStrategy":"UseIPv4"
}, },
"streamSettings":{ "streamSettings":{
"sockopt":{ "sockopt":{
"interface":"CloudflareWARP", "interface":"CloudflareWARP", // Client 的 Proxy 模式填 CloudflareWARP 或者 warp-go 填 WARP
"tcpFastOpen":true "tcpFastOpen":true
} }
} }
}, },
{ {
"tag":"CloudflareWARP-v6", "tag":"WARP-interface-v6",
"protocol":"freedom", "protocol":"freedom",
"settings":{ "settings":{
"domainStrategy":"UseIPv6" "domainStrategy":"UseIPv6"
@ -498,7 +500,7 @@ kill -9 $(pgrep -f warp) ##杀掉正在运行的进程
"domain:openai.com", "domain:openai.com",
"domain:ai.com" "domain:ai.com"
], ],
"outboundTag":"CloudflareWARP-v4" "outboundTag":"WARP-interface-v4"
}, },
{ {
"type":"field", "type":"field",
@ -506,7 +508,7 @@ kill -9 $(pgrep -f warp) ##杀掉正在运行的进程
"geosite:netflix", "geosite:netflix",
"domain:p3terx.com" "domain:p3terx.com"
], ],
"outboundTag":"CloudflareWARP-v6" "outboundTag":"WARP-interface-v6"
} }
] ]
} }

Loading…
Cancel
Save