Skip to content

Repository files navigation

Frp服务端一键配置脚本,脚本默認获取Frp最新版本

Frp server one-click configuration script. The script obtains the latest Frp version by default

GitHub Repo Stars Forks

"Buy Me A Coffee"

Frp 是一个高性能的反向代理应用,可以帮助您轻松地进行内网穿透,对外网提供服务,支持 tcp, http, https 等协议类型,并且 web 服务支持根据域名进行路由转发。

  • Detail(详情):fatediergithub
  • Script author(脚本原作者):clangcn github

Frps-Onekey-Install-Shell For CentOS/Debian/Ubuntu/Fedora (32bit/64bit)

Install(安装)

Gitee

wget https://gitee.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

Uninstall(卸载)

./install-frps.sh uninstall

Update(更新)

./install-frps.sh update

Server management(服务管理器)

Usage: /etc/init.d/frps {start|stop|restart|status|config|info|version}

GitHub Actions release sync

  • Workflow: .github/workflows/sync-frp-releases.yml
  • Purpose: automatically sync the latest fatedier/frp release assets into frp-releases/<tag>/ and publish the same version as a GitHub Release in this repository
  • Triggers: manual workflow_dispatch and a daily scheduled run

Script ChangeLog


[2.0.1] - 2026-08-08

Changed

  • Version bump to 2.0.1

[2.0.0] - 2026-08-04

Added

  • Add SSH Tunnel Gateway interactive configuration support.

  • Add webServer TLS (Dashboard HTTPS) interactive configuration support, including certificate/key file validation and auto-generation.

Fixed

  • Fix frps service failed to start: propagate errors and capture startup logs.

  • Fix webServer TLS: validate cert/key files and offer auto-generation when files are missing.

  • Fix dashboard URL showing http:// when TLS is enabled — now correctly shows https://.

  • Fix download progress: replace curl fake progress bar with wget real-time progress display (speed + percentage).

  • Fix info command: show enable/disable label for log file status.

Added (2026-07-31)

  • Add info command to display frps configuration panel. Usage: /etc/init.d/frps info

[1.0.8] - 2026-07-17

Fixed

  • Fix GitHub download URL to fetch frp release assets directly from fatedier/frp releases instead of the mirror repository.

[1.0.7] - 2024-07-24

Added

  • Add progress bar for download frps tar file Issue 101

Fixed

  • fix typo

[1.0.6] - 2024-06-25

Added

  • Add new server os to support, RHEL,Rocky,AlmaLinux OS.

  • Add new server os on frps.init file

Fixed

  • fix check server os version script bug

[1.0.5] - 2024-06-19

Added

  • Add quic of transport protocol support,server port default same as https port.

  • Add user-defined functions for the kcp bind port,server port default same as bind port.

Fixed

  • Fix the script under frps server start faild still install complete bug.

[1.0.4] - 2024-06-18

Updated

  • Add trace option at log level, default is info

  • Update shell update function, ask the user if they want to update

New

  • frps support transport heartbeatTimeout = 90, default is enable

[1.0.3] - 2024-06-16

Amendment

  • Amend function name to frps

Changed

  • Change curl command to get server ip from wget command Issue 117

[1.0.2] - 2024-06-13

Update

  • Update frp server config format to follow up the latest version.
    bind_addr --> bindAddr
    bind_port --> bindPort
    kcp_bind_port --> kcpBindPort
    etc..
    

[1.0.1] - 2024-06-07

Changed

  • frps program config file change to frps.toml from frps.int

About

Frp server one-click configuration script. The script obtains the latest Frp version by default

Topics

Resources

Code of conduct

Stars

3.5k stars

Watchers

37 watching

Forks

Releases

Packages

Used by

Contributors

Languages