小鸡一键WARP解锁ipv6,本操作适用Debian9 + amd64系统

搬瓦工机场JMS

第一步:升级系统内核并重启

  1. 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,请自行备份wgcf-profile.conf以便重装系统之后还原使用

  1. 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(ipv4&ipv6),并在routing设置中指定Netflix走ipv6. 配置geosite需要geosite.dat,如果没装会报错,自行用下面代码替换v2ray.json中对应部分,实现netflix分流走ipv6解锁


  1. "outbounds": [

  2.   {

  3.     "tag":"IPv4_out",

  4.     "protocol": "freedom"

  5.   },

  6.   {

  7.     "tag":"IPv6_out",

  8.     "protocol": "freedom",

  9.     "settings": {

  10.       "domainStrategy": "UseIPv6"

  11.     }

  12.   }

  13. ],

  14. "routing": {

  15.   "rules": [

  16.     {

  17.       "type": "field",

  18.       "outboundTag": "IPv6_out",

  19.       "domain": ["geosite:netflix","nflxvideo.net","nflxext.com","nflxso.net"]

  20.     },

  21.     {

  22.       "type": "field",

  23.       "outboundTag": "IPv4_out",

  24.       "network": "udp,tcp"

  25.     }

  26.   ]

  27. }




第四步:检测Netfilx是否解锁成功

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

本操作适用Debian9 + amd64系统。

如何设置为自己的 warp+ 账号


脚本默认申请自己的warp账号并生成对应配置。所以记得自行备份wgcf-profile.conf以便重装系统之后还原使用

未经允许不得转载:搬瓦工VPS_美国VPS » 小鸡一键WARP解锁ipv6,本操作适用Debian9 + amd64系统

赞 (0) 打赏

相关推荐

    暂无内容!

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏