Linux command
frps 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start frp server
frps -c [frps.toml]
Verify configuration
frps verify -c [frps.toml]
Simple server with
frps --bind_port [7000]
Show version
frps -v
说明
frps is the server component of frp (fast reverse proxy). It runs on a public server and accepts connections from frpc clients, routing traffic to exposed internal services. The server manages client authentication, proxy routing, and port allocation. A web dashboard provides monitoring. Multiple clients can connect to one server. frps provides the public endpoint for accessing services exposed by frpc clients.
参数
- -c _FILE_
- Configuration file path.
- --bind_port _PORT_
- Bind port for client connections.
- --dashboard_port _PORT_
- Web dashboard port.
- --token _STRING_
- Authentication token.
- verify
- Verify configuration file.
- --help
- Display help information.
FAQ
What is the frps command used for?
frps is the server component of frp (fast reverse proxy). It runs on a public server and accepts connections from frpc clients, routing traffic to exposed internal services. The server manages client authentication, proxy routing, and port allocation. A web dashboard provides monitoring. Multiple clients can connect to one server. frps provides the public endpoint for accessing services exposed by frpc clients.
How do I run a basic frps example?
Run `frps -c [frps.toml]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c _FILE_ do in frps?
Configuration file path.