reeceyng / v2ray-agent

【纯净版】原八合一共存脚本,去除广告等推广信息,支持xtls-rprx-vision
GNU Affero General Public License v3.0
896 stars 578 forks source link

IPv6 only VPS 安装问题 #8

Closed socosfly closed 1 year ago

socosfly commented 1 year ago

我有一台纯IPv6的机器,脚本可以安装,申请证书也都没有问题,但是无法访问。 请问要修改哪些配置才能让xray监听v6的端口呢?

reeceyng commented 1 year ago

我没有纯ipv6的服务器,没办法进行调试 不过我认为不是入站的问题,而是出站的问题 请你重新安装下最新的开发版,然后告诉我能否使用

socosfly commented 1 year ago

Nginx的配置alone.conf里要监听v6 listen [::]:port; listen [::1]:port; outbound里删除ipv4

修改后就可以了

谢谢您的提示

mfat commented 1 year ago

I used this script successfully on an ipv6 server. Just add an AAAA record in Cloudflare and make sure it's gray (DNS only). After the script ran successfully and you get the configs, make it orange ( PROXY ON)