vq.cx 的小鸡,只通 IPv6 的网,但是借助 Heroku 或者之前提到的 Kubesail,再用支持 IPv6 的 CloudFlare Worker 反代下,中转这几个免费容器的网络,访问没有部署 IPv6 的网站,顿时香疯。
流程:
Heroku/Kubesail 落地 <–> CF Worker 反向代理 <–> vq.cx 自定义所分配的 worker 地址的 hosts 为 2606:4700:4700::1111 并安装 V2Ray,outbounds 设置为落地鸡的 vmess wsTLS 配置,inbound 设置为 mKCP <–> 本地到 vq.cx 小鸡用 mKCP
Heroku 搭建 v2ray 参考 https://github.com/bclswl0827/v2ray-heroku
顺便 FO 我 + Star
CF Worker 反向代理 V2 看我之前的帖子
贴出服务器配置
{ "inbounds": [ { "port": 33444, "listen": "vq.cx 给出的一个 ip", "protocol": "vmess", "settings": { "clients": [ { "id": "UUID", "alterId": 64 } ] }, "streamSettings": { "network": "mkcp", "kcpSettings": { "uplinkCapacity": 5, "downlinkCapacity": 100, "congestion": true, "header": { "type": "wechat-video" } } } } ], "outbounds": [ { "protocol": "vmess", "settings": { "vnext": [ { "address": "example.xx.workers.dev", "port": 443, "users": [ { "id": "UUID", "security": "auto", "alterId": 64 } ] } ] }, "streamSettings": { "network": "ws", "security": "tls", "wsSettings": { "path": "/" } } } ] }
然后即可访问 IPv4 网站~~
大概是这样了,相信你们的动手能力
同样适用于其它没有 NAT4 纯 v6 环境的小鸡
来源:https://www.hostloc.com/thread-616782-1-1.html