yanyuyijian/INS/FVPS/EUserv/README.md
Leon a358e39d81 🥧Many
FVPS & docker-compose.yml & dailytasks & qlrepo
2021-07-27 17:32:04 +08:00

130 lines
4.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 给EUserv IPV6添加WARP白嫖WARP高速通道针对OpenVZ、LXC架构的IPV6 only VPS
### IPV6 only VPS添加WARP的好处
1使只有IPV6的VPS获取访问IPV4的能力套上WARP的ip,变成双栈VPS
2基本能隐藏VPS的真实IP
3支持代理协议直连电报Telegram支持代理协议连通软路由Openwrt各种翻墙插件
4WARP分配的IPV4或者IPV6的IP段都支持奈非Netflix流媒体无视VPS原IP限制
5支持原本需要IPV4支持的Docker等应用
6加速VPS到CloudFlare CDN节点访问速度
7避开原VPS的IP需要谷歌验证码问题
8替代NAT64/DNS64方案网络效率更高
#### WARP原理与及搭建探讨https://youtu.be/78dZgYFS-Qo
#### 抛弃DNS64、自定义域名、IP分流教程推荐https://youtu.be/fY9HDLJ7mnM
#### 联合Oracle甲骨文https://github.com/YG-tsj/CFWarp-Pro #双栈Warp接管IPV4与IPV6网络https://youtu.be/o7e_ikV-m-g
-------------------------------------------------------------------------------------------------------
### 一恢复EUserv官方DNS64重装系统者可直接跳到第二步脚本安装
```
echo -e "search blue.kundencontroller.de\noptions rotate\nnameserver 2a02:180:6:5::1c\nnameserver 2a02:180:6:5::4\nnameserver 2a02:180:6:5::1e\nnameserver 2a02:180:6:5::1d" > /etc/resolv.conf
```
### 二、重装系统能解决99%的问题无须添加DNS64一键到底
#### 仅支持Debian 10/Ubuntu 20.04系统根据自己需求选择以下脚本1或者脚本2有无成功可查看脚本末尾提示
#### 脚本1IPV4是WARP分配的IPIPV6是VPS本地IP
```
wget -qO- https://cdn.jsdelivr.net/gh/YG-tsj/EUserv-warp/warp4.sh|bash
```
#### 脚本2IPV4与IPV6都是WARP分配的IP
```
wget -qO- https://cdn.jsdelivr.net/gh/YG-tsj/EUserv-warp/warp64.sh|bash
```
----------------------------------------------------------------------------------------------------
#### Netflix检测项目https://github.com/YG-tsj/Netflix-Check
#### 注意域名解析所填写的IP必须是VPS本地IP与WARP分配的IP没关系
#### 推荐使用Xray脚本项目mack-ahttps://github.com/mack-a/v2ray-agent 注意大家自行测试德鸡在有些地区或者运营商不支持TCP只能选择CDNWS协议与gRPC协议IP地址改为自定义优选IPicook.tw
#### 提示配置文件wgcf.conf和注册文件wgcf-account.toml都已备份在/etc/wireguard目录下
--------------------------------------------------------------------------------------------------------------
#### 查看WARP当前统计状态```wg```
#### 查看当前IPV4 IP```curl -4 ip.p3terx.com```
#### 查看当前IPV6 IP```curl -6 ip.p3terx.com```
-------------------------------------------------------------------------------------------------------------
#### IPV6 VPS专用分流配置文件(以下默认全局IPV4优先IP、域名自定义详情见视频教程)
```
{
"outbounds": [
{
"tag":"IP6-out",
"protocol": "freedom",
"settings": {}
},
{
"tag":"IP4-out",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv4"
}
}
],
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "IP4-out",
"domain": [""]
},
{
"type": "field",
"outboundTag": "IP6-out",
"network": "udp,tcp"
}
]
}
}
```
---------------------------------------------------------------------------------------------------------
#### 相关WARP进程命令
手动临时关闭WARP网络接口
```
wg-quick down wgcf
```
手动开启WARP网络接口
```
wg-quick up wgcf
```
启动systemctl enable wg-quick@wgcf
开始systemctl start wg-quick@wgcf
重启systemctl restart wg-quick@wgcf
停止systemctl stop wg-quick@wgcf
关闭systemctl disable wg-quick@wgcf
---------------------------------------------------------------------------------------------------------------------
感谢P3terx大及原创者们参考来源
https://p3terx.com/archives/debian-linux-vps-server-wireguard-installation-tutorial.html
https://p3terx.com/archives/use-cloudflare-warp-to-add-extra-ipv4-or-ipv6-network-support-to-vps-servers-for-free.html
https://luotianyi.vc/5252.html
https://hiram.wang/cloudflare-wrap-vps/