新VPS安装v2ray
date
Jul 16, 2025
slug
new-vps-install-v2ray
status
Published
tags
网络
问题解决记录
summary
type
Post
一键脚本
unzip安装失败
- 最近几次安装过程中总是出现
- 解决办法
尝试
启用bbr
v2ray → 9 其他 → 1启动BBR
禁用ipv6
不这样可能有些网站无法访问,会提示Your client does not has permission to get URL/ from this server
v2ray 的 outbound 有一个 sendThrough,设置为 ipv4 的地址就可以了。至于部分网站需要走 ipv6,你可以另外配置一个 sendThrough 为 ipv6 的 outbound,配合路由使用
对我的场景,并不需要使用ipv6,于是将
direct
全都设置成了走ipv4修改vps主机的v2ray的配置,路径
/etc/v2ray/config.json
修改后的配置如下