Sign inSign up

whohoo/frpc

By whohoo

•Updated 4 months ago

frp client component - Alpine-based Docker image

Image
Networking
0

1.3K

whohoo/frpc repository overview

⁠whohoo/frpc

frp (Fast Reverse Proxy) client component. Built on Alpine Linux.

⁠Usage

⁠docker run
docker run -d --restart=unless-stopped \
  -v /path/to/frpc.toml:/etc/frpc/frpc.toml \
  --name frpc \
  whohoo/frpc:latest
⁠docker-compose
services:
  frpc:
    image: whohoo/frpc:latest
    container_name: frpc
    restart: unless-stopped
    volumes:
      - ./frpc.toml:/etc/frpc/frpc.toml
    network_mode: host

network_mode: host is recommended for frpc to access local services and let frp manage port mapping at the server side.

⁠Example config (frpc.toml)
serverAddr = "your-server-ip"
serverPort = 7000

[[proxies]]
name = "test-tcp"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000

⁠Configuration

Mount your config at /etc/frpc/frpc.toml. A built-in default config exists but must be customized for your server.

See the official frp documentation⁠ for configuration reference.

⁠Source

https://github.com/whohoo/frp-docker⁠

Tag summary

Content type

Image

Digest

sha256:3828aa284…

Size

9.9 MB

Last updated

4 months ago

docker pull whohoo/frpc