检测是否解锁Netflix:
下载检测解锁程序:
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:30000
官方教程:https://pkg.cloudflareclient.com/
安装WARP仓库GPG 密钥:
curl https://pkg.cloudflareclient.com/pubkey.gpg | 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" | 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
查询代理后的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"
]
},
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
},
"stats": {}
}
替换这个位置:
最后执行:
./nf -proxy socks5://127.0.0.1:40000
结尾:经常失效,有时可以有时不行,只能说有胜于无,见仁见智。
安装出现问题,可以先安装pip试试
apt install python3-pip
不错不错,我喜欢看
怎么收藏这篇文章?
想想你的文章写的特别好https://www.237fa.com/
不错不错,我喜欢看 https://www.ea55.com/