安装

国内用Aliyun,国外用Github

Aliyun

wget https://code.aliyun.com/MvsCode/frps-onekey/raw/master/install-frps.sh -O ./install-frps.sh
chmod 700 ./install-frps.sh
./install-frps.sh install

Github

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

httphttps端口,如果服务器只用于frp可以默认,如果80443还有他用,可以设置成其他端口
防火墙别忘记开放面板6443端口

Uninstall(卸载)

./install-frps.sh uninstall

Update(更新)

./install-frps.sh update

Server management(服务管理器)

/etc/init.d/frps {start|stop|restart|status|config|version}
#服务端相关命令
frps start     #启动frps服务端
frps stop      #停止frps服务端
frps restart   #重启frps服务端
frps status    #显示frps状态
frps config    #配置frps服务端
frps version   #显示frps版本

https://github.com/MvsCode/frps-onekey

https://github.com/fatedier/frp