Concept
Knowing the following Concept will help you better understand
and Use frp.
working principle
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.
Agent
In frp, an Agent Corresponding to an intranet service that
requires public access. A client can simultaneously configure
multiple agents To meet different needs.
Agent Type
FRP supports multiple agents Type to adapt to different Use
scenarios. The following are some common types of agents:
-
TCP: Provides pure TCP port mapping to enable Server side
Can route requests to different internal network services
based on different ports.
-
UDP: Provides pure UDP port mapping, compatible with TCP
Agent Similar, but used for UDP traffic.
-
HTTP: Specially designed for HTTP
applications, supports modifying Host Additional features
such as header and added authentication.
-
HTTPS: Similar to HTTP Agent, but
specifically used for handling HTTPS traffic.
-
STCP: Provides a secure TCP intranet agent , requiring
deployment on both the machine being visited and the machine
being visited FRPC, there is no need to expose ports on the
server side.
-
SUDP: Provides a secure UDP intranet agent, compatible with
STCP Similarly, it needs to be deployed on both the machine
being visited and the machine being visited FRPC, there is
no need to expose ports on the server side.
-
XTCP: Point to point intranet PenetrationAgent, with STCP
Similar, but the traffic does not need to go through the
server intermediary.
-
TCPMUX: Supports Server side TCP Port
multiplexing allows access to different intranet services
through the same port.
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.
Last modified November 15, 2023:
fix 404 (#71) (626ce4d)