FRPS一键搭建搭建

Windows 运行命令：frpc.exe -c ./frpc.ini

#服务器安装脚本

wget https://raw.githubusercontent.com/stilleshan/frps/master/frps_linux_install.sh && chmod +x frps_linux_install.sh && ./frps_linux_install.sh

国内镜像

wget https://files.ioiox.com/projects/frp/frps/frps_linux_install.sh && chmod +x frps_linux_install.sh && ./frps_linux_install.sh

vi /usr/local/frp/frps.ini

修改 frps.ini 配置

[common]

tls_enable = true

sudo systemctl restart frps

重启 frps 服务即可生效

#卸载

wget https://raw.githubusercontent.com/stilleshan/frps/master/frps_linux_uninstall.sh && chmod +x frps_linux_uninstall.sh && ./frps_linux_uninstall.sh

国内镜像

wget https://files.ioiox.com/projects/frp/frps/frps_linux_uninstall.sh && chmod +x frps_linux_uninstall.sh && ./frps_linux_uninstall.sh

sudo systemctl start frps

启动服务

sudo systemctl enable frps

开机自启

sudo systemctl status frps

状态查询

sudo systemctl restart frps

重启服务

sudo systemctl stop frps

停止服务