Files
compose-anything/src/frpc
2025-11-10 19:55:44 +08:00
..
2025-09-24 22:24:11 +08:00
2025-11-10 19:55:44 +08:00
2025-09-24 09:28:28 +08:00
2025-09-24 14:16:10 +08:00
2025-09-24 14:16:10 +08:00

FRPC (Intranet Penetration Client)

English | 中文

This is an FRPC (Intranet Penetration Client) service.

Example

Taking SSH service penetration as an example, create a new frpc.toml configuration file with the following content:

serverAddr = "{{ .Envs.FRP_SERVER_ADDR }}"
serverPort = {{ .Envs.FRP_SERVER_PORT }}
auth.token = "{{ .Envs.FRP_SERVER_TOKEN }}"

[[proxies]]
name = "app_22"
type = "tcp"
remotePort = 23922
localIP = "192.168.10.100"
localPort = 22

Configure the remote FRPS service address in the .env file:

FRP_SERVER_ADDR=frps.example.com
FRP_SERVER_PORT=9870
FRP_SERVER_TOKEN=password

Start the service to proxy 192.168.10.100:22 to FRP_SERVER_ADDR:23922.

docker compose up -d

Services

  • frpc: The FRPC client service.

Configuration

  • FRPC_VERSION: The version of the FRPC image, default is 0.64.0.
  • FRP_SERVER_ADDR: The remote FRPS server address.
  • FRP_SERVER_PORT: The remote FRPS server port.
  • FRP_SERVER_TOKEN: The token for connecting to FRPS.

Volumes

  • frpc.toml: The configuration file for FRPC.