ClientPlug-in

By default, frpc will only forward requests to local TCP or UDP ports, i.e. through localIPand The local service address specified bylocalPort.

By enabling the ClientPlug in feature, it is possible to start frpc only In this case, some simple local services are built-in to achieve functions that usually require additional startup of other services.

In the Configuration of each Agent, you can use the plugin Configure the Plug in and related parameters to be used. After enabling ClientPlug in, there is no need to configure it again localIPandlocalPort.

ClientPlug in can be used for various types of agents The prerequisite is the protocol supported by the Plug in itself. For example, static file access to Plug in can be achieved through Expose through TCP or HTTP agents.

The following is Usehttp_ Example of proxyPlug in:

[[proxies]]
    name = "http_proxy"
    type = "tcp"
    remotePort = 6000
    [proxies.plugin]
    type = "http_proxy"
    httpUser = "abc"
    httpPassword = "abc"
    

htpUserandhtpPasswordare the HTTP_ ProxyPlug in optional Configuration parameters.

For other Plug ins and related configurations, please refer to Reference The content in Reference.

Last modified November 15, 2023: Fix 404 (# 71) (626ce4d)