树莓派搭建代理
概述
下载 v2ray-core
# 使用 github 的代理 https://ghproxy.net/ 下载 arm64-v8a v2ray 内核.
wget -O /usr/local/v2ray-linux-arm64-v8a.zip https://ghproxy.net/https://github.com/v2fly/v2ray-core/releases/download/v5.16.1/v2ray-linux-arm64-v8a.zip
# 解压到/usr/local/v2ray-core
sudo unzip /usr/local/v2ray-linux-arm64-v8a.zip -d /usr/local/v2ray-core
安装V2rayA
# 使用 github 的代理 https://ghproxy.net/ 下载 v2rayA 安装包.
wget -O /usr/local/installer_debian_arm64_2.2.5.1.deb https://ghproxy.net/https://github.com/v2rayA/v2rayA/releases/download/v2.2.5.1/installer_debian_arm64_2.2.5.1.deb
# 安装v2rayA
sudo apt install /usr/local/installer_debian_arm64_2.2.5.1.deb
为 v2rayA 配置 v2ray 内核
# 修改 /etc/default/v2raya 配置文件
vim /etc/default/v2raya
# 将V2rayA和v2ray-core关联起来
# 修改两行配置
V2RAYA_V2RAY_BIN=/usr/local/v2ray-core/v2ray
V2RAYA_V2RAY_CONFDIR=/usr/local/v2ray-core
参考链接
1.鹏叔的技术博客