Skip to content

Glucy-2/frpmgr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

frpmgr

A bullshit script frp manager for linux.

    ____                         
   / __/________  ____ ___  ____ ______
  / /_/ ___/ __ \/ __ `__ \/ __ `/ ___/
 / __/ /  / /_/ / / / / / / /_/ / /  
/_/ /_/  / .___/_/ /_/ /_/\__, /_/   
        /_/              /____/  

Features

  • install and (auto) upgrade frp server and client
  • installs systemd services for easy management
  • manage single and/or multiple frp services and configurations
  • works in China (thanks https://ghproxy.net)
  • works in IPv6-only environment (thanks https://gitmirror.com)

Main menu:

MENU:
[0] Exit
[1] Manage frp
[2] Install/Upgrade frp
[3] Edit/Create a frp config file
[4] Edit a frp service file
[5] Uninstall services
[6] Uninstall frp

Single config mode:

MENU:
[ 0] Back
[ 1] Switch to multi config mode
[ 2] Show frps(/frpc) service status
[ 3] View frps(/frpc) service logs in reverse order
[ 4] View frps(/frpc) service real-time logs
[ 5] Restart frps(/frpc) service
[ 6] Start frps(/frpc) service
[ 7] Stop frps(/frpc) service
[ 8] Reload frps(/frpc) service
[ 9] Enable frps(/frpc) service
[10] Disable frps(/frpc) service

Multi config mode:

MENU:
[ 0] Back
[ 1] Switch to single config mode
[ 2] Show all frps(/frpc) services status
[ 3] View logs of a frps(/frpc) service in reverse order
[ 4] View real-time logs of a frps(/frpc) service
[ 5] Restart a frps(/frpc) service
[ 6] Start a frps(/frpc) service
[ 7] Stop a frps(/frpc) service
[ 8] Reload a frps(/frpc) service
[ 9] Enable a frps(/frpc) service
[10] Disable a frps(/frpc) service
[11] Restart all frps(/frpc) services
[12] Start all frps(/frpc) services
[13] Stop all frps(/frpc) services
[14] Reload all frps(/frpc) services
[15] Enable all frps(/frpc) services
[16] Disable all frps(/frpc) services

Installation

Dependencies:

  • systemd
  • bash
  • curl
  • readline
sudo curl -o /usr/local/bin/frpmgr -fsSL https://raw.githubusercontent.com/Glucy-2/frpmgr/main/frpmgr.sh && sudo chmod +x /usr/local/bin/frpmgr

If in China, use ghproxy.net:

sudo curl -o /usr/local/bin/frpmgr -fsSL https://ghproxy.net/https://raw.githubusercontent.com/Glucy-2/frpmgr/main/frpmgr.sh && sudo chmod +x /usr/local/bin/frpmgr

Usage

You need root/sudo to install and run frpmgr

sudo -E frpmgr

Then you will see the main menu as shown above

frpmgr will install frps and frpc binary files into /usr/bin/ and use toml frp config by default, can be changed in head of the script (line 5-6) before installing

Uncommenting the lines in upgradeFrp() function will restart all running frp services after upgrading frp.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages