2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`frps {{[-c|--config]}} ./frps.toml`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
- Start the service, using a specified configuration file:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`frps {{[-c|--config]}} {{path/to/file}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Check if the configuration file is valid:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`frps verify {{[-c|--config]}} {{path/to/file}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Print autocompletion setup script for Bash, fish, PowerShell, or Zsh:
|
|
|
|
|
|
|
|
|
|
`frps completion {{bash|fish|powershell|zsh}}`
|
|
|
|
|
|
|
|
|
|
- Display version:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`frps {{[-v|--version]}}`
|