2023 The frp Authors 保留所有权利
中文|English
By default, frpc will only forward requests to local TCP or
UDP ports, i.e. through
localIP
and 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
localIP
andlocalPort
.
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 proxy
Plug
in:
[[proxies]]
name = "http_proxy"
type = "tcp"
remotePort = 6000
[proxies.plugin]
type = "http_proxy"
httpUser = "abc"
httpPassword = "abc"
htpUser
andhtpPassword
are the
HTTP_ Proxy
Plug in optional Configuration parameters.
For other Plug ins and related configurations, please refer to Reference The content in Reference.