2023 The frp Authors 保留所有权利
中文|English
When you need to modify the Agent Configuration of frpc, you
can use
frpc reload
Command to dynamically load the Configuration file, usually
completing the Agent within seconds Update of.
To enable this feature, webServer needs to be enabled in frpc to provide APIs Service. The configuration is as follows:
webServer.addr = "127.0.0.1"
webServer.port = 7400
Then execute the following command to overload Configuration:
frpc reload - c/ Frpc. toml
After waiting for a period of time, the client will follow the new Configuration Create, update, or delete an Agent using file. It should be noted that non Agent The parameters of the relevant public parts, except for start, cannot be modified at present.
FRPC supports through
frpc status - c/ Frpc. ini
Command to view the status information of the Agent, which requires enabling webServer in frpc.
In environments where external networks can only be accessed through the Agent, frpc supports HTTP or SOCKS5 Agent establishes a connection with FRPS.
You can set the system environment variableHTTP_ PROXY
or on frpc
Set in the Configuration file
Use this feature with thetransport. proxyURL
parameter.
Only in
transport. protocol="a; TCP".
serverAddr = "x.x.x.x"
serverPort = 7000
transport.proxyURL = "http://user:pwd@192.168.1.128:8080"
Settransport. proxyURL
to
socks5://user: pwd@192.168.1.128 : 8080
can also be connected to
SOCKS5 Agent.
Last modified November 15, 2023:
fix 404 (#71) (626ce4d)