HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

frps — Quickly set up a reverse proxy service. Part of `frp`. More information: <https://github.com/fatedie

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandproxyquicklyfrpscliservicereverseset

Problem

How to use the frps command: Quickly set up a reverse proxy service. Part of frp. More information: <https://github.com/fatedier/frp>.

Solution

frps — Quickly set up a reverse proxy service. Part of frp. More information: <https://github.com/fatedier/frp>.

Start the service, using the default configuration file (assumed to be frps.ini in the current directory):
frps


Start the service, using the newer TOML configuration file:
frps {{[-c|--config]}} {{path/to/frps.toml}}


Start the service, using a specified configuration file:
frps {{[-c|--config]}} {{path/to/file}}


Check if the configuration file is valid:
frps verify {{[-c|--config]}} {{path/to/file}}


Print autocompletion setup script for Bash, fish, PowerShell, or Zsh:
frps completion {{bash|fish|powershell|zsh}}


Display version:
frps {{[-v|--version]}}

Code Snippets

Start the service, using the default configuration file (assumed to be `frps.ini` in the current directory)

frps

Start the service, using the newer TOML configuration file

frps {{[-c|--config]}} {{path/to/frps.toml}}

Start the service, using a specified configuration file

frps {{[-c|--config]}} {{path/to/file}}

Check if the configuration file is valid

frps verify {{[-c|--config]}} {{path/to/file}}

Print autocompletion setup script for Bash, fish, PowerShell, or Zsh

frps completion {{bash|fish|powershell|zsh}}

Context

tldr-pages: common/frps

Revisions (0)

No revisions yet.