mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
35 lines
848 B
Plaintext
35 lines
848 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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.toml` instead of `frps.ini`) in the current directory:
|
|
|
|
`frps {{-c|--config}} ./frps.toml`
|
|
|
|
- Start the service, using a specified config 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}}`
|