原先详细视频教程及探讨:https://youtu.be/78dZgYFS-Qo
最新德鸡EUserv抛弃DNS64、自定义IP分流教程(推荐):https://youtu.be/fY9HDLJ7mnM
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
wget -qO- https://cdn.jsdelivr.net/gh/YG-tsj/EUserv-addv4-warp/WARP4.sh|bash
{
"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网络接口
wg-quick down wgcf
手动开启WARP网络接口
wg-quick up wgcf
查看WARP当前统计状态
wg
启动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