- 服务器端 frp 安装脚本
wget https://raw.githubusercontent.com/MvsCode/frps-onekey/master/install-frps.sh -O ./install-frps.sh
chmod 700 ./install-frps.sh
./install-frps.sh install
- 本地直接解压安装包
https://github.com/fatedier/frp/releases
- 本地配置 ssh等
- 关闭防火墙,ssh连接开放22端口
- 启动服务器端
/ect/init.d/frps start
- 启动本地
./frpc -c ./frpc.ini