纯IPV6服务器使用WARP
一、使用NAT64
NAT64可以使IPV6服务器,有访问IPV4资源的能力
echo -e "nameserver 2a01:4f8:c2c:123f::1\nnameserver 2a01:4f9:c010:3f02::1" | tee /etc/resolv.conf
二. 安装使用WARP
根据系统安装 Cloudflare WARP软件包
实例Debian12
安装warp
apt install gpg -y
curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list
sudo apt-get update && sudo apt-get install cloudflare-warp
注册warp
warp-cli registration new
warp-cli tunnel ip add-range ::/0
开启warp
warp-cli connect
curl -4 ipinfo.io
版权声明:
作者:MR.k
链接:https://bigeng.sbs/2025/01/%e7%ba%afipv6%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%bd%bf%e7%94%a8warp/
文章版权归作者所有,未经允许请勿转载。
THE END