一,落地机安装v2ray
V2ray 233 blog一键脚本:
bash <(curl -s -L https://git.io/v2ray.sh)
(*如果提示 curl: command not found ,那是因为你的 VPS 没装 Curl
ubuntu/debian 系统安装 Curl 方法: apt-get update -y && apt-get install curl -y
centos 系统安装 Curl 方法: yum update -y && yum install curl -y
安装好 curl 之后就能安装脚本了)
BBR plus一键安装脚本
wget --no-check-certificate -O tcp.sh https://github.com/cx9208/Linux-NetSpeed/raw/master/tcp.sh && chmod +x tcp.sh && ./tcp.sh
二,安装SCREEN(落地机和中转机同流程都要安装):
①apt install screen #Debian/Ubuntu系统
yum install screen #centos系统
②screen -S gost #创建新窗口,注意中转机连多台开不同窗口
③安装 gost 服务端(3个命令)
wget -N --no-check-certificate https://github.com/ginuerzh/gost/releases/download/v2.11.0/gost-linux-amd64-2.11.0.gz && gzip -d gost-linux-amd64-2.11.0.gz
mv gost-linux-amd64-2.11.0 gost
chmod +x gost
安装wget命令:yum -y install wget 或rpm 下载源地址:http://mirrors.163.com/centos/6.2/os/x86_64/Packages/
④国内机器/中转机
./gost -L=tcp://:15106 -L=udp://:15106 -F=forward+mtls://xxx.xxx.xxx.xxx:15106?mbind=true
监听 15106 端口并利用 mtls 传输到落地节点 IP的 15106 端口,?mbind=true 启用多路复用。
国外服务器/落地节点
./gost -L=mtls://:15106/127.0.0.1:60898
GOST监听15106端口然后转发至127.0.0.1:落地端口
#
V2Ray+WS+TLS 的方案
国内/中转机
./gost -L=tcp://:15190/xx.xx.xx.xx:443 -L=udp://:15190/xx.xx.xx.xx:443
国外/落地机
./gost -L=mtls://:15190/127.0.0.1:443