Files
tldr/pages.zh/common/frps.md

29 lines
721 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# frps
> 快速设置反向代理服务。
> 属于 `frp` 的一部分。
> 更多信息:<https://github.com/fatedier/frp>。
- 启动服务,使用默认配置文件(假设为当前目录中的 `frps.ini`
`frps`
- 启动服务,使用更新的 TOML 配置文件(在当前目录中使用 `frps.toml` 而不是 `frps.ini`
`frps {{-c|--config}} ./frps.toml`
- 启动服务,使用指定的配置文件:
`frps {{-c|--config}} {{path/to/file}}`
- 检查配置文件是否有效:
`frps verify {{-c|--config}} {{path/to/file}}`
- 打印 Bash、fish、PowerShell 或 Zsh 的自动补全设置脚本:
`frps completion {{bash|fish|powershell|zsh}}`
- 显示版本:
`frps {{-v|--version}}`