missuo / cloudflarewarp Goto Github PK
View Code? Open in Web Editor NEWCloudflare Warp One Click Script
Cloudflare Warp One Click Script
你选择了增加 IPV4 的模式
开始自动修改配置文件
开始加载WireGuard内核模块
cp: cannot create regular file '/etc/wireguard/wgcf.conf': No such file or directory
开启启动WireGuard隧道
warp.sh: line 135: wg-quick: command not found
WireGuard隧道启动完成
Centos7 内核5.12.6
仅增加IPV6下申请Ipv6有以下提示:
“本机IPV6: 2a09:bac0:xxxxxxxxx
恭喜你!配置完成!感谢使用! Have a nice day :)”
之后使用curl -6 ip.sb得到的返回结果却是本机原始ipv4的IP,而且无法ping通ipv6的ip
“ping 2606:4700:4700::1111
ping: 2606:4700:4700::1111: 不支持的主机名地址族”
Debian10系统需要运行2次脚本才生效
第一次运行脚本不会生效 PS:第一次运行没效果 然后第二次运行脚本选择2 然后ipv6才生效
作者能不能帮忙解决
还有就是 能不能加个开机自启 要不然重启VPS ipv6就不生效 要手动加开机运行命令才能
https://hiram.wang/cloudflare-wrap-vps/中提供的方式
在 wgcf.conf
中[Interface]
的最后加上
PostUp = ip rule add from 本机v4地址 lookup main
PostDown = ip rule delete from 本机v4地址 lookup main
PostUp = ip -6 rule add from 本机v6地址 lookup main
PostDown = ip -6 rule delete from 本机v6地址 lookup main
本人测试可以不破坏vps原生v4\v6的ssh和建站等功能,并且出站流量走warp
如题,ip.sb的ipv6检测api似乎有问题?
我通过脚本添加了ipv6后,最后检测出的ipv6地址和whatismyipaddress.com上检测的ip不一致?
需要本地网络比如移动支持ip v6访问才可以使用此脚本吗? 谢谢
重启后脚本会失效。
VPS重装后重新运行脚本,无法成功申请ipv6地址
提示以下信息后返回为空值。
2021/05/20 10:47:18 existing account detected
wgcf/cmd/register.registerAccount
/drone/src/cmd/register/register.go:41
wgcf/cmd/register.glob..func1
/drone/src/cmd/register/register.go:27
github.com/spf13/cobra.(*Command).execute
/go/pkg/mod/github.com/spf13/[email protected]/command.go:846
github.com/spf13/cobra.(*Command).ExecuteC
/go/pkg/mod/github.com/spf13/[email protected]/command.go:950
github.com/spf13/cobra.(*Command).Execute
/go/pkg/mod/github.com/spf13/[email protected]/command.go:887
wgcf/cmd.Execute
/drone/src/cmd/root.go:36
main.main
/drone/src/main.go:10
runtime.main
/usr/local/go/src/runtime/proc.go:204
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1374
2021/05/20 10:47:18 Using config file: wgcf-account.toml
近期已经有几位朋友来询问我有关您的脚本存在的问题了……
一脸懵,嘤嘤嘤(ToT)/~~~
希望您在注明原帖的时候,注明原帖与脚本无关,或者注明原作者,谢谢啦~
绿云安装失败,未解锁。还是本地地址
我可以在我的 VPS 上使用 WARP 加速嗎,因為我只有 Ipv4,而且我正在使用 xray+grpc/tls+CDN。 我不想使用 WireGuard,因為它在我的國家完全被封鎖。
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.