Giter VIP home page Giter VIP logo

frpmgr's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.