ipv6 VPS安装WARP分流获取ipv4并使用X-UI分流解锁Netflix
AI-摘要
KunKunYu GPT
AI初始化中...
介绍自己
生成本文简介
推荐相关文章
前往主页
前往tianli博客
HAX的ipv6 VPS使用WARP分流获取ipv4并使用X-UI分流解锁Netflix
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh [option] [lisence/url/token]
优先级: IPv4,安装 WARP Linux Client,开启 Socks5 代理模式
warp 4
warp c
安装x-ui
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
新建vmess+ws节点
X-UI配置文件
{
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
},
"tag": "api"
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"tag": "warp",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "127.0.0.1",
"port": 40000
}
]
}
},
{
"tag": "WARP-socks5-v4",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv4"
},
"proxySettings": {
"tag": "warp"
}
},
{
"tag": "WARP-socks5-v6",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv6"
},
"proxySettings": {
"tag": "warp"
}
}
],
"policy": {
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
},
{
"type": "field",
"domain": [
"geosite:google",
"geosite:netflix",
"geosite:openai",
"ip.gs"
],
"outboundTag": "WARP-socks5-v4"
},
{
"type": "field",
"domain": [
"ip.sb"
],
"outboundTag": "WARP-socks5-v6"
}
]
},
"stats": {}
}