2023 The frp Authors 保留所有权利
中文|English
frp 主要由两个组件组成:客户端(frpc) 和 服务端(frps)。通常情况下,服务端部署在具有公网 IP 地址的机器上,而客户端部署在需要穿透的内网服务所在的机器上。
由于内网服务缺乏公网 IP 地址,因此无法直接被非局域网内的用户访问。用户通过访问服务端的 frps,frp 负责根据请求的端口或其他信息将请求路由到相应的内网机器,从而实现通信。
在 frp 中,一个代理对应一个需要公开访问的内网服务。一个客户端可以同时配置多个代理,以满足不同的需求。
frp 支持多种代理类型,以适应不同的使用场景。以下是一些常见的代理类型:
每种代理类型适用于不同的使用情境,您可以根据需求选择合适的代理类型来配置 frp。
Frp mainly consists of two components: Client (frpc) and Server side. (frps). In general, Server side is deployed on a public network IP. Address on the machine, while Client is deployed on the machine where the intranet service needs to be penetrated.
Due to the lack of public IP for internal network services The address cannot be directly accessed by users outside the local area network. Users access the server by Side FRPS, FRP Responsible for routing requests to the corresponding intranet machines based on the requested port or other information, in order to achieve communication.
In frp, an Agent Corresponding to an intranet service that requires public access. A client can simultaneously configure multiple agents To meet different needs.
FRP supports multiple agents Type to adapt to different Use scenarios. The following are some common types of agents:
Each type of Agent. The type is suitable for different Use situations. You can choose the appropriate Agent according to your needs. Type to Configuration frp.