VPS服务器WARP快速解锁IPV6+解锁Netfilx

VPS服务器WARP快速解锁IPV6+解锁Netfilx

本操作代码适用Debian9 + AMD64系统

最好全新纯净的Debian系统再执行下面操作(GCP默认Debian以下代码不适用)

系统内核升级并更新重启

apt update && apt install curl sudo lsb-release -y && echo "deb http://deb.debian.org/debian $(lsb_release -sc)-backports main" | sudo tee /etc/apt/sources.list.d/backports.list && apt update && apt -t $(lsb_release -sc)-backports install linux-image-$(dpkg --print-architecture) linux-headers-$(dpkg --print-architecture) --install-recommends -y && reboot

WARP快速解锁IPV6

apt update && apt install curl sudo lsb-release -y && echo "deb http://deb.debian.org/debian $(lsb_release -sc)-backports main" | sudo tee /etc/apt/sources.list.d/backports.list && apt update && apt install net-tools iproute2 openresolv dnsutils -y && apt install wireguard-tools --no-install-recommends && curl -fsSL git.io/wgcf.sh | sudo bash && wgcf register && wgcf generate && sed -i '/0.0.0.0/d' ./wgcf-profile.conf && sed -i 's/engage.cloudflareclient.com/162.159.192.1/g' ./wgcf-profile.conf && sed -i 's/1.1.1.1/9.9.9.10,8.8.8.8,1.1.1.1,8.8.4.4/g' ./wgcf-profile.conf && cp wgcf-profile.conf /etc/wireguard/wgcf.conf && systemctl start wg-quick@wgcf && systemctl enable wg-quick@wgcf && grep -qE '^[ ]*label[ ]*2002::/16[ ]*2' /etc/gai.conf || echo 'label 2002::/16 2' | sudo tee -a /etc/gai.conf

配置双路Outbounds

"outbounds": [
{
"tag":"IPv4_out",
"protocol": "freedom"
},
{
"tag":"IPv6_out",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv6"
}
}
],
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "IPv6_out",
"domain": ["geosite:netflix","nflxvideo.net","nflxext.com","nflxso.net"]
},
{
"type": "field",
"outboundTag": "IPv4_out",
"network": "udp,tcp"
}
]
}

测试是否成功解锁Netfilx

apt install -y curl jq && bash <(curl -sSL https://raw.githubusercontent.com/Netflixxp/NF/main/nf.sh)

阅读剩余
THE END