代理

Linux 搭建 Clash WebUI(无桌面环境)|枯死的灌木

VRAY 代理

1
2
3
4
5
6
7
mkdir -p /etc/apt/keyrings
touch /etc/apt/keyrings/v2raya.asc
wget -qO - https://apt.v2raya.org/key/public-key.asc | tee /etc/apt/keyrings/v2raya.asc
touch /etc/apt/sources.list.d/v2raya.list
echo "deb [signed-by=/etc/apt/keyrings/v2raya.asc] https://apt.v2raya.org/ v2raya main" | sudo tee /etc/apt/sources.list.d/v2raya.list
sudo apt update
sudo apt install -y v2raya v2ray
1
2
sudo systemctl start v2raya.service
sudo systemctl enable v2raya.service

推荐用 tuic 代理
假设你已经启用了 ufw,并且想要开放 2017 端口,可以使用以下命令:

1
sudo ufw allow 2017/tcp

然后验证规则是否已添加:

1
sudo ufw status verbose

代理设置

建议采用不进行分流,gvisor tun 模式

.bashrc

1
2
export http_proxy=http://localhost:20171
export https_proxy=http://localhost:20171

docker 也需要代理

脚本代理

1
bash <(wget -qO- https://raw.githubusercontent.com/yonggekkk/sing-box-yg/main/sb.sh)

1panel

vps 网速加速

免费节点

docker 代理

api