全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 9015|回复: 7

vps配置cloudflare warp服务解锁netflix解除google验证码

  [复制链接]
发表于 2021-3-13 01:21:55 | 显示全部楼层 |阅读模式
转自: https://obvps.com/2021/03/12/warpnf.html


据说 cloudflare warp 服务居然还有这种功效,这能不折腾配上么


访问 https://warp.plus/EmoCb 可以下载注册安装获取LICENSE_KEY给之后VPS上使用
如果你还需要warp+流量可以参考[这个脚本](https://github.com/mixool/across/tree/master/wireguard),实际上免费版无限流量对于解锁NF和解除google验证码效果和warp+效果是一样的

https://github.com/ViRb3/wgcf 生成配置
会用到上一步的LICENSE_KEY来生成配置文件wgcf-profile.conf
wget -O /usr/bin/wgcf https://github.com/ViRb3/wgcf/releases/download/v2.2.2/wgcf_2.2.2_linux_amd64
chmod +x /usr/bin/wgcf
wgcf register
wgcf generate
WGCF_LICENSE_KEY="123412341234" wgcf update

文件wgcf-profile.conf内有二行代码,解锁一般都是使用IPv6,即删除AllowedIPs = 0.0.0.0/0这一行
sed -i "s/AllowedIPs = 0.0.0.0\/0//" wgcf-profile.conf

wg 安装可以参考安装cloud内核并开启bbr的脚本来安装较新的内核
bash <(curl -s https://raw.githubusercontent.com/mixool/across/master/kvmbbr/bbr.sh) cloud
内核支持,安装就很简单了
apt update
apt install wireguard -y

把上一步生成的配置内容导入到/etc/wireguard目录下
cat  wgcf-profile.conf >/etc/wireguard/wgcf.conf
关闭 wg-quick down wgcf
启动 wg-quick up wgcf
状态 wg

配置ray路由规则
搭建可以参这个脚本 https://github.com/mixool/across/tree/master/xray
参考并编辑config.json配置文件部分内容如下,主要是二条directv6,之后重启服务即可
  1. "outbounds":
  2.         [
  3.                 {"protocol": "freedom","tag": "direct","settings": {}},
  4.                 {"protocol": "freedom","tag": "directv6","settings": {"domainStrategy": "UseIPv6"}},
  5.                 {"protocol": "blackhole","tag": "blocked","settings": {}},
  6.                 {"protocol": "freedom","tag": "twotag","streamSettings": {"network": "domainsocket","dsSettings": {"path": "/usr/local/etc/xray/ss","abstract": true}}}
  7.         ],

  8.         "routing":
  9.         {
  10.                 "rules":
  11.                 [
  12.                         {"type": "field","outboundTag": "directv6","domain": ["geosite:netflix","geosite:google"]},
  13.                         {"type": "field","inboundTag": ["onetag"],"outboundTag": "twotag"},
  14.                         {"type": "field","outboundTag": "blocked","ip": ["geoip:private"]},
  15.                         {"type": "field","outboundTag": "blocked","domain": ["geosite:private","geosite:category-ads-all"]}
  16.                 ]
  17.         }
复制代码

发表于 2021-3-23 21:24:51 | 显示全部楼层
感谢 刚刚成功了
发表于 2021-3-24 03:17:42 | 显示全部楼层
大佬,别光庆祝啊,新手教程来一份啊
发表于 2021-4-26 19:35:50 | 显示全部楼层

大佬,这个就v6走了这个warp,怎么让v4也走鸭
发表于 2021-4-30 08:43:34 | 显示全部楼层
麻烦问下楼主,vps现在安装了trojan,还可以使用这个解锁Netflix吗?
发表于 2021-4-30 09:48:11 | 显示全部楼层
yinguo520 发表于 2021-4-30 08:43
麻烦问下楼主,vps现在安装了trojan,还可以使用这个解锁Netflix吗?

理论上都可以
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-26 22:48 , Processed in 0.156251 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表