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

frpc — Connect to a `frps` server to start proxying connections on the current host. Part of `frp`. More in

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

Problem

How to use the frpc command: Connect to a frps server to start proxying connections on the current host. Part of frp. More information: <https://github.com/fatedier/frp>.

Solution

frpc — Connect to a frps server to start proxying connections on the current host. 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):
frpc


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


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


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


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


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

Code Snippets

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

frpc

Start the service, using the newer TOML configuration file

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

Start the service, using a specific configuration file

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

Check if the configuration file is valid

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

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

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

Context

tldr-pages: common/frpc

Revisions (0)

No revisions yet.