1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

frp, frpc, frps: add page (#12945)

Co-authored-by: spageektti <git@spageektti.cc>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com>
This commit is contained in:
Reinhart Previano Koentjoro 2024-06-14 05:15:03 +07:00 committed by GitHub
parent 46161d618b
commit 4e2811b7e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 70 additions and 0 deletions

12
pages/common/frp.md Normal file
View file

@ -0,0 +1,12 @@
# frp
> Fast Reverse Proxy: quickly set up network tunnels to expose certain services to the Internet or other external networks.
> More information: <https://github.com/fatedier/frp>.
- View documentation for `frpc`, the `frp` client component:
`tldr frpc`
- View documentation for `frps`, the `frp` server component:
`tldr frps`

29
pages/common/frpc.md Normal file
View file

@ -0,0 +1,29 @@
# 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 (`frps.toml` instead of `frps.ini`) in the current directory:
`frpc {{-c|--config}} ./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}}`

29
pages/common/frps.md Normal file
View file

@ -0,0 +1,29 @@
# 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}}`