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

Loading…
Cancel
Save