下列代码是xui面板让一台速度比较快的vps加速一台速度比较慢的vps的vless节点,并以socks代理整体加速这台IP为45.192.249.224的vps。
45.192.249.224是一台速度比较慢的vps,43988是它的vless节点的端口,下面是在速度比较快的vps安装的xui面板的配置:
{
“log”: {
“loglevel”: “warning”
},
“inbounds”: [
{
“listen”: “127.0.0.1”,
“port”: 9000,
“protocol”: “dokodemo-door”,
“settings”: {
“address”: “127.0.0.1”
},
“tag”: “api”
},
{
“listen”: “0.0.0.0”,
“port”: 43989,
“protocol”: “vless”,
“settings”: {
“clients”: [
{
“id”: “b35fab9a-2afb-2b78-d2e4-417a326fcbcd”,
“flow”: “xtls-rprx-vision”
}
],
“decryption”: “none”
},
“streamSettings”: {
“network”: “tcp”,
“security”: “none”
},
“tag”: “client-entry”
},
{
“listen”: “0.0.0.0”,
“port”: 1080,
“protocol”: “socks”,
“settings”: {
“auth”: “noauth”,
“udp”: true
},
“tag”: “socks5-proxy”
}
],
“outbounds”: [
{
“protocol”: “vless”,
“tag”: “to-slow-vps”,
“server”: “45.192.249.224”,
“server_port”: 43988,
“uuid”: “b35fab9a-2afb-2b78-d2e4-417a326fcbcd”,
“flow”: “xtls-rprx-vision”,
“tls”: {
“enabled”: true,
“server_name”: “www.yahoo.com“,
“utls”: {
“enabled”: true,
“fingerprint”: “chrome”
},
“reality”: {
“enabled”: true,
“public_key”: “3yJr_f0k9lBbjUJ5aumN4pX2jxu7sjsA9v_CE7___BA”,
“short_id”: “d882f23e9b491c95”
}
},
“packet_encoding”: “xudp”
},
{
“protocol”: “freedom”,
“tag”: “direct”
},
{
“protocol”: “blackhole”,
“tag”: “block”
}
], “routing”: {
“domainStrategy”: “AsIs”,
“rules”: [
{
“type”: “field”,
“inboundTag”: [“client-entry”],
“outboundTag”: “to-slow-vps”
},
{
“type”: “field”,
“inboundTag”: [“api”],
“outboundTag”: “api”
}
]
}
}