#下载检测解锁程序,项目地址:https://github.com/sjlleo/netflix-verify
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/v3.1.0/nf_linux_amd64 && chmod +x nf
#执行
./nf
#通过代理执行
./nf -proxy socks5://127.0.0.1:40000
#官方教程:https://pkg.cloudflareclient.com/install
apt install lsb-release
apt-get -y install gnupg
#安装WARP仓库GPG 密钥:
curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
#添加WARP源:
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list
#更新APT缓存:
apt update
#安装WARP:
apt install cloudflare-warp
#注册WARP:
warp-cli register
#设置为代理模式(一定要先设置):
warp-cli set-mode proxy
#连接、断开WARP,测试解锁:
warp-cli connect
warp-cli disconnect
./nf -proxy socks5://127.0.0.1:40000
#查询代理后的IP地址:
curl ifconfig.me --proxy socks5://127.0.0.1:40000
#xray配置文件
{
"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": {}
},
{
"tag": "netflix_proxy",
"protocol": "socks",
"settings": {
"servers": [{
"address": "127.0.0.1",
"port": 40000
}]
}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}],
"policy": {
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [{
"type": "field",
"outboundTag": "netflix_proxy",
"domain": ["geosite:netflix", "geosite:disney", "ipv6-test.com"]
},
{
"inboundTag": ["api"],
"outboundTag": "api",
"type": "field"
},
{
"ip": ["geoip:private"],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": ["bittorrent"],
"type": "field"
}]
},
"stats": {}
}
#二级代理解锁
{
"api": {
"services": ["HandlerService", "LoggerService", "StatsService"],
"tag": "api"
},
"inbounds": [{
"listen": "127.0.0.1",
"port": 30000,
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
}
}
],
"outbounds": [{
"protocol": "freedom",
"settings": {}
},
//从v2ray中导出客户端配置,从配置文件中找到outbounds的节点信息,添加到此处,注意修改tag
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}],
"policy": {
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [{
"type": "field",
"outboundTag": "netflix_proxy",
"domain": ["geosite:netflix", "geosite:disney", "ipv6-test.com"]
},
{
"inboundTag": ["api"],
"outboundTag": "api",
"type": "field"
},
{
"ip": ["geoip:private"],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": ["bittorrent"],
"type": "field"
}]
},
"stats": {}
}
debian安装warp
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...