Linux command
frpc 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start frp client
frpc -c [frpc.ini]
Verify configuration
frpc verify -c [frpc.ini]
Reload configuration
frpc reload -c [frpc.ini]
Show status
frpc status -c [frpc.ini]
Show version
frpc -v
说明
frpc is the client component of frp (fast reverse proxy). It runs on internal networks and establishes connections to the frps server, creating tunnels for exposed services. Configuration defines proxies for TCP, UDP, HTTP, and HTTPS services. The client maintains persistent connections and handles reconnection. Multiple services can be exposed through one client. frpc enables accessing internal services through a public frps server.
参数
- -c _FILE_
- Configuration file path.
- verify
- Verify configuration file.
- reload
- Reload configuration without restart.
- status
- Show proxy status.
- -v, --version
- Show version.
- --help
- Display help information.
FAQ
What is the frpc command used for?
frpc is the client component of frp (fast reverse proxy). It runs on internal networks and establishes connections to the frps server, creating tunnels for exposed services. Configuration defines proxies for TCP, UDP, HTTP, and HTTPS services. The client maintains persistent connections and handles reconnection. Multiple services can be exposed through one client. frpc enables accessing internal services through a public frps server.
How do I run a basic frpc example?
Run `frpc -c [frpc.ini]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c _FILE_ do in frpc?
Configuration file path.