本帖最后由 呆呆的游客 于 2023-1-30 12:06 编辑
==============官方脚本==============
安装脚本:
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install -u root
配置文件如下
{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"port": 32001,
"protocol": "vless",
"tag":"mmt",
"settings": {
"clients": [
{
"id": "f380db0b-96e3-4c9d-8ce9-b665d70860d5",
"flow":"xtls-rprx-direct"
}
],
"decryption": "none"
}
}
],
"outbounds":[
{
"protocol":"freedom",
"settings":{
"domainStrategy":"UseIPv4"
},
"tag":"IPv4-out"
},
{
"protocol":"freedom",
"settings":{
"domainStrategy":"UseIPv6"
},
"tag":"IPv6-out"
},
{
"protocol":"blackhole",
"tag":"blackhole-out"
}
],
"dns": {
"servers": [
"localhost"
]
}
}
==============八合一脚本==============
安装脚本:
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh
选择
1.任意组合安装
2.xray-core
3.VLESS+TLS/XTLS+TCP
安装完毕后,我会在/etc/v2ray-agent/xray/conf/02_VLESS_TCP_inbounds.json再加个账户,添加的配置如下
{
"port": 32001,
"protocol": "vless",
"tag":"mmt",
"settings": {
"clients": [
{
"id": "f380db0b-96e3-4c9d-8ce9-b665d70860d5",
"flow":"xtls-rprx-direct"
}
],
"decryption": "none"
}
}
==============问题==============
这两种方式部署到两台同地区甲骨文机器了,都开启了BBR,都用32001这个端口富强,速度上官方脚本(油管1000)明显不如八合一(油管一万多),,这是为什么呢?难道八合一有啥加成?
|