fscarmen / warp_unlock Goto Github PK
View Code? Open in Web Editor NEWWARP unlock stream media one-click script. Support IPv4, IPv6 or dual-stack CloudFlare WARP network interface and Socks5 proxy . WARP 解锁流媒体一键脚本
WARP unlock stream media one-click script. Support IPv4, IPv6 or dual-stack CloudFlare WARP network interface and Socks5 proxy . WARP 解锁流媒体一键脚本
vps已经手动配置过warp了,v2ray配置了分流,解锁了奶粉,但是没有解锁迪士尼,所以想通过你的脚本更换一个IP,但是运行脚本却提示这个。
进入容器后
PID USER TIME COMMAND
1 root 0:00 {busybox} ash ./run.sh
89 root 0:00 crond
90 root 0:02 ./gost -L :40000
1443 root 0:00 bash
10055 root 0:00 ps aux
手工执行bash /etc/wireguard/warp_unlock.sh
1.行11.
找不到timedatectl set-timezone Asia/Shanghai
2.行12.
判断进不去.
$(pgrep -laf ^[/d]*bash.*warp_unlock | awk -F, '{a[$2]++}END{for (i in a) print i" "a[i]}')
打印结果为3
Hi
I've been using your scripts for some time, and they were ok. However, couple of days ago, it stopped unlocking Netflix with status "No 😰".
At first, I thought it was a bandwidth limitation and tried applying a license, but unfortunately that is not the case. I tried the script on multiple servers from several datacenters and no lock.
Am I doing something wrong or is there a problem?
背景:docker方式部署,xray使用docker的sock5作为outbound
问题:由于docker容器可能重启,VPS机器也会不时重启,重启时如果docker不止一个容器,sock5 ip可能会变更,比如原本脚本ip是172.17.0.2,重启后可能会变更为172.17.0.3,导致需要手动调整xray的outbound配置,对于我全部流量都走warp就会导致断网
解决建议:能否在docker的启动参数中加入“ --net bridge --ip 172.17.0.10”达到固定ip的作用
i'm currently using WARP+ as my vpn service to access censored websites, but it has varioud problems such as cannot access to websites like chatgpt because of IPv6 that it's providing and getting restricted because of living in iran.
i used your service for changing ip automatically for netflix and it done well and i want to know is there any way to use this script on mac os.
感谢大佬的脚本。想提个建议,能不能考虑加个配置telegram_bot通知(或其他形式的通知),解锁失败了发通知,然后自动刷ip刷成功了再通知。要是一定时间间隔后(比如10分钟)还没收到刷ip成功的通知,那我考虑人工介入。因为不成功的话一直刷ip,可能会影响到wgcf用作代理的使用。
一台vps上部署了ss服务端,并且串联了kcptun进行加速,不启动warp则串联加速正常。warp启动以后vps上的kcptun就无法成功串联ss服务端了,但是直连ss则是正常的,经过ss代理后的ip为warp ip。请问下这个如何解决呢?
解锁了Netflix自制剧就停止刷IP了,怎么才能继续解锁非自制剧呢?
系统:AlmaLinux 8.5 (类似RHEL 8.5)
中文,刷socks5 ip,用screen刷netflix时出现
/etc/wireguard/warp_unlock.sh: line 48: cb: command not found
然后查看了/etc/wireguard/warp_unlock.sh这个脚本发现第48行确实有一个cb命令,应该是个无效命令。
我自己有一台解锁的VPS,怎么把IP填进去,不需要脚本一直去寻找IP
it will be possible in the future to integrate the "smart dns" option as this project does on github
https://github.com/ab77/netflix-proxy
thanks
脚本改成加"-6":
docker run -dit --restart=always --name wgcf --sysctl net.ipv6.conf.all.disable_ipv6=0 --device /dev/net/tun --privileged --cap-add net_admin --cap-add sys_module --log-opt max-size=1m -v /lib/modules:/lib/modules -v $WGCF_DIR:$WGCF_DIR fscarmen/netflix_unlock:latest -6
好像也没效果
SG的机器上实测已经刷出可用ip,但是脚本仍然检测失败并继续刷IP。US的机器工作正常。
对于disney+,即使v6解锁,脚本也会通知不解锁。
warp不能工作
root@debian:~# docker logs -f wgcf
[#] ip link add wgcf type wireguard
RTNETLINK answers: Not supported
Unable to access interface: Protocol not supported
[#] ip link delete dev wgcf
Cannot find device "wgcf"
crond[19]: crond (busybox 1.34.1) started, log level 8
2022/03/20 19:10:39 route.go:650: auto://:40000 on [::]:40000
bash-5.1# ps -T | grep warp
71 root 0:00 grep warp
IP段一直是104.28..,tg一直在提示刷IP。
请问有什么办法更换到其他IP段吗?
环境:centos 7
刷ip就是不断和cf拨号连接,成功后会创建一个网卡设备,相关信息会写入 /run/udev/data目录中,断开连接后,这个资源没有正确释放,若一直不停刷ip,这个空间很快就会占满,从而导致其他依赖此空间的进程挂掉
因为目的是解锁chatgpt,一直用同一个ip会被限制
作者你好,
最近解锁奈飞的脚本好像出了点问题
解锁可以分为选项6和选项11
1:如果选择6,解锁奈飞的IP可以在几次内解锁成功,并且验证确实解锁成功了,成功率非常高。
2:选择11,无论在里面选择模式1或者模式2(其他模式没用过),一直一直显示NO,最近一直没有YES过,我以为自己的VPS的问题,换了好几个地区都一样。
3:模式11刷IP的过程中,部分IP显示解锁NO,但通过其他方式验证,实际上这个IP是解锁了的。
4:小白私心请教个问题,如果选择选项6,解锁奈飞成功后,我ctrl+c退出了当前脚本,那这个脚本会在后台1小时后继续执行解锁任务?还是被我ctrl+c彻底关掉停止工作了了?我哪天需要解锁的时候又得再手动去解锁一次吗?
VPS是【US】,在选择地区是选择其他如【JP】,更换地区时则会一直刷到【US】地区的IP且一直解锁失败,请问一下目前是只能选择VPS所在的地区吗
我使用 docker 方案安装
docker ps -a
....
2e6c3b487f3b fscarmen/netflix_unlock:latest "/bin/sh -c ./run.sh" 46 minutes ago Up 10 minutes wgcf
docker exec -it wgcf ip route get 172.17.0.1 | grep -oP 'src \K\S+'
172.17.0.2
curl ifconfig.me --proxy socks5://172.17.0.2:40000
43.xx.xx.xx
Hi there
I'd like to know if there is a way (even a workaround) to provide license key to the Docker image.
使用示例命令
bash <(curl -sSL https://raw.githubusercontent.com/fscarmen/warp_unlock/main/unlock.sh) -C -A us -4 -N n -M 1
提示 没有指定的 WARP 方式
请问 选择方法2 也就是创建screen的方法刷出了ip 以后会自动检测是否失效吗 如果失效了会自动再刷直到成功吗
安装 新版的warp-goV1.1.4 1. 使用该脚本 选 1 crontab 莫斯 无法刷新IP log里面每次都是一样的cloudwarp ip
多次尝试发现即使全新VPS使用Docker初始化后,出现网络5秒掉连接和高ping问题。初步排查可能是wireguard接口和docker内的网络冲突导致。可以用一下命令修复,重启Docker网络后恢复正常。
系统: Ubuntu 20.04 TLS
修复命令:
pkill docker
iptables -t nat -F
ifconfig docker0 down
systemctl restart docker.service
望作者大大排查一下脚本或者添加修复命令!
用的docker方式
感谢fscarmen的代码
貌似最近和warp-go 不兼容了。 不知道改了哪些东西
系统 AlmaLinux, centos, 8.7,
1 使用你的脚本 用 https://github.com/fscarmen/warp 安装warp-go 后 , 然后选6刷新Netflix 直接显示 已经解锁 但程序卡住 没有正常退出
显示如下
当前 Netflix 地区是:JP,需要解锁当前地区请按 y , 如需其他地址请输入两位地区简写 (如 hk ,sg,默认:JP):
2023-01-22 22:50:11 区域 JP 解锁成功,IPv6: 2a09:bac1:3b40:120::16:19c 日本 Cloudflare,1 小时后重新测试,刷 IP 运行时长: 0 天 0 时 0 分 3 秒
然后程序一直卡住 没有正常退出 . 而且实际用其他脚本测试 并没有解锁非自制剧。
README 里面 的 bash <(curl -sSL https://raw.githubusercontent.com/fscarmen/tools/main/warp_crontab.sh)
地址也是错误的
2 用本项目 之前可以正常运行 最近一个月 选择 1 crontab模式 脚本貌似没有运行 , 同时也没有输出 /root/result.log
手动运行 bash /usr/bin/warp_unlock.sh 也没有任何输出 /root/result.log (这里最好能把日志输出到命令行 否则不知道什么问题)
/usr/bin/warp_unlock.sh 是正常存在的
3 crontab 模式好像修改的是 /etc/crontab 文件 。 但不同系统默认不是这个位置, 例如debian是 /var/spool/cron/crontabs/.
直接修改 /etc/crontab 好像并不能立即生效
添加 crontab 可以用
crontab -l | { cat; echo "0 0 0 0 0 some entry"; } | crontab -
(crontab -l ; echo "0 * * * * your_command") | sort - | uniq - | crontab -
https://stackoverflow.com/questions/4880290/how-do-i-create-a-crontab-through-a-script
https://stackoverflow.com/questions/610839/how-can-i-programmatically-create-a-new-cron-job
总结问题就是刷新Netflix 脚本目前运行有问题, 没有正常运行。
感谢大佬的分享。
个人感觉5分钟有点频繁,会造成vps节点连接频繁断连,希望可以自定义设置大于5分钟检查和刷新ip间隔,以分钟为单位,半个小时输入30,一天输入1440
谢谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.