Comments (8)
感谢你提供的方案,我尽快加上你提供的「无损双栈模式」
from cloudflarewarp.
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
我在配置文件中增加了这些,似乎无法正常出站。还需要改什么吗?
from cloudflarewarp.
我修改配置后使用命令
wg-quick down wgcf
关闭
wg-quick up wgcf
启动
然后就可以使用了😂
ping v4或v6地址、ssh连接等操作都没有问题
使用VPS进行traceroute v4 v6均使用warp地址
这是我目前的配置,关键信息进行了隐藏
[Interface]
PrivateKey = xxx=
Address = 172.16.x.x/32
Address = fd01::xxxx:6593/128
DNS = 1.1.1.1
MTU = 1280
PostUp = ip rule add from 140.x.x.100 lookup main
PostDown = ip rule delete from 140.x.x.100 lookup main
PostUp = ip -6 rule add from 2001::fb6 lookup main
PostDown = ip -6 rule delete from 2001::fb6 lookup main
[Peer]
PublicKey = xxx+xxx/xxx=
AllowedIPs = 0.0.0.0/0
AllowedIPs = ::/0
Endpoint = 162.159.192.1:2408
v4和v6地址都是网卡上获取到的
from cloudflarewarp.
IP测试结果
from cloudflarewarp.
我按照你的方法之后,无法解析任何v4和v6的域名 curl ip.sb
无返回结果了,请问你的系统是什么,内核是什么版本,是否改过路由表?
from cloudflarewarp.
我按照你的方法之后,无法解析任何v4和v6的域名
curl ip.sb
无返回结果了,请问你的系统是什么,内核是什么版本,是否改过路由表?
之前使用一键脚本的时候,内核被换为3.10.0-1160.25.1.el7.x86_64,我手动切换至kernel-5.12.2_bbrplus-1.x86_64后出现了相同的问题,我再看看吧😥
from cloudflarewarp.
那你用的是WireGuard还是WireGuard-Go
from cloudflarewarp.
我的Telegram就是@missuo,我们可以TG交流一下!
from cloudflarewarp.
Related Issues (11)
- 能否加入开机自启动? HOT 3
- 需要本地网络比如移动支持ip v6访问才可以使用此脚本吗? 谢谢 HOT 2
- 安装失败 HOT 1
- VPS重装后重新运行脚本,无法成功申请ipv6地址 HOT 8
- Centos7 单独申请ipv6后有下发IP但是curl是V4地址 HOT 3
- arm64无法添加IPV4 HOT 3
- 希望注明原帖作者与脚本无关 HOT 2
- Debian10系统BUG HOT 6
- WARP 使用 HOT 4
- ipv6 检测有误 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudflarewarp.