Skip to content
官方QQ交流群
技术交流1:87208295   点此加入
技术交流2:787747122   点此加入
官网
云控制台
开放平台
关注微信公众号
代码仓库: 码云

frp centos 服务端

安装准备

  • 公网IP
  • 需要公网IP,服务端可以云平台的轻量应用服务,如阿里云、腾讯云等

软件需要

环境系统版本frp软件
服务端centOS 8frp_0.48.0_linux_amd64.tar.gz

服务端安装配置

一键安装服务端,默认安装在 root下,如果需要改路径,可以自己下载脚本去改

sh
# centOS 8
bash <(curl -s -S -L https://mirrors.10yun.com/frp/frp_server_centos8.sh)
# centOS 7
# centOS 8
bash <(curl -s -S -L https://mirrors.10yun.com/frp/frp_server_centos8.sh)
# centOS 7

依次配置

  • 绑定端口(bind_port)
  • 管理后台端口(bind_port)
  • 管理后台用户(bind_port)
  • 管理后台密码(bind_port)

systemctl 指令

sh

# 启动 
systemctl start frps
# 停止 
systemctl stop frps
# 重启 
systemctl restart frps
# 查看状态
systemctl status frps

# 启动 
systemctl start frps
# 停止 
systemctl stop frps
# 重启 
systemctl restart frps
# 查看状态
systemctl status frps

Copyright © 2017 10yun.com | 十云提供计算服务-IPV6 | ctocode组开发