https://github.com/eycorsican/v2ray-core/releases/tag/v4.13.0-latency-load-balancer-v3
首先 checkout 这两个分支
package main | |
import ( | |
"bufio" | |
"bytes" | |
"encoding/binary" | |
"flag" | |
"fmt" | |
"net" | |
"os" |
Install ss-server: https://github.com/shadowsocks/shadowsocks-libev
Download v2ray-plugin: https://github.com/shadowsocks/v2ray-plugin/releases
Download v2ray: https://github.com/v2ray/v2ray-core/releases
> ss-server -c server_config.json --plugin v2ray-plugin_linux_amd64 --plugin-opts "server;mode=websocket;path=/;loglevel=info"
{ | |
"stats": {}, | |
"api": { | |
"services": [ | |
"StatsService" | |
], | |
"tag": "api" | |
}, | |
"policy": { | |
"levels": { |