Docker images for frp v0.69.1 — a fast reverse proxy to expose local servers behind NAT or firewalls.
joyki/frp_neo:server — runs frps (server component)joyki/frp_neo:client — runs frpc (client component)All configuration is done via environment variables. The client supports JSON-based proxy definitions.
services:
frps:
image: joyki/frp_neo:server
container_name: frp-server
restart: unless-stopped
ports:
- "7000:7000"
environment:
FRPS_TOKEN: mysecret
services:
frps:
image: joyki/frp_neo:server
container_name: frp-server
restart: unless-stopped
ports:
- "7000:7000"
- "7500:7500"
environment:
FRPS_TOKEN: mysecret
FRPS_DASHBOARD_PORT: "7500"
FRPS_DASHBOARD_USER: admin
FRPS_DASHBOARD_PWD: changeme
| Variable | Default | Required | Description |
|---|---|---|---|
FRPS_TOKEN | — | yes | Authentication token |
FRPS_BIND_PORT | 7000 | no | Port for client connections |
FRPS_BIND_ADDR | 0.0.0.0 | no | Bind address |
FRPS_LOG_LEVEL | info | no | Log level |
FRPS_DASHBOARD_PORT | 7500 | no | Dashboard port (empty = disabled) |
FRPS_DASHBOARD_USER | — | no | Dashboard username |
FRPS_DASHBOARD_PWD | — | no | Dashboard password |
FRPS_ALLOW_PORTS | — | no | Port whitelist, e.g. "2000-3000,3001,3003" |
FRPS_EXTRA_CONFIG | — | no | Raw TOML appended to config |
services:
frpc:
image: joyki/frp_neo:client
container_name: frp-client
restart: unless-stopped
environment:
FRPC_SERVER_ADDR: 192.168.1.100
FRPC_TOKEN: mysecret
FRPC_PROXIES: '[{"name":"ssh","type":"tcp","localIP":"127.0.0.1","localPort":22,"remotePort":2222}]'
services:
frpc:
image: joyki/frp_neo:client
container_name: frp-client
restart: unless-stopped
ports:
- "7400:7400"
environment:
FRPC_SERVER_ADDR: 192.168.1.100
FRPC_SERVER_PORT: "7000"
FRPC_TOKEN: mysecret
FRPC_ADMIN_PORT: "7400"
FRPC_ADMIN_USER: admin
FRPC_ADMIN_PWD: changeme
FRPC_PROXIES: |
[
{"name":"ssh","type":"tcp","localIP":"127.0.0.1","localPort":22,"remotePort":2222},
{"name":"web","type":"http","localIP":"10.0.0.2","localPort":8080,"customDomains":"web.example.com"}
]
| Variable | Default | Required | Description |
|---|---|---|---|
FRPC_SERVER_ADDR | — | yes | Server IP or hostname |
FRPC_SERVER_PORT | 7000 | no | Server port |
FRPC_TOKEN | — | yes | Authentication token |
FRPC_LOG_LEVEL | info | no | Log level |
FRPC_ADMIN_PORT | — | no | Admin UI port (empty = disabled) |
FRPC_ADMIN_USER | — | no | Admin UI username |
FRPC_ADMIN_PWD | — | no | Admin UI password |
FRPC_PROXIES | — | no | JSON array of proxy objects |
FRPC_EXTRA_CONFIG | — | no | Raw TOML appended to config |
Keys must use frp's camelCase naming and match [[proxies]] fields:
[
{"name":"ssh","type":"tcp","localIP":"127.0.0.1","localPort":22,"remotePort":2222},
{"name":"web","type":"http","localIP":"10.0.0.2","localPort":8080,"customDomains":"web.example.com"}
]
frp natively supports IPv6. Both the server and client accept IPv6 addresses wherever an address is expected.
Set FRPS_BIND_ADDR to :: to listen on all IPv6 interfaces:
services:
frps:
image: joyki/frp_neo:server
container_name: frp-server
restart: unless-stopped
ports:
- "7000:7000"
environment:
FRPS_TOKEN: mysecret
FRPS_BIND_ADDR: "::"
Set FRPC_SERVER_ADDR to the server's IPv6 address:
services:
frpc:
image: joyki/frp_neo:client
container_name: frp-client
restart: unless-stopped
environment:
FRPC_SERVER_ADDR: "2001:db8::1"
FRPC_TOKEN: mysecret
FRPC_PROXIES: '[{"name":"ssh","type":"tcp","localIP":"127.0.0.1","localPort":22,"remotePort":2222}]'
Use an IPv6 address in localIP:
[{"name":"web","type":"tcp","localIP":"::1","localPort":80,"remotePort":8080}]
Docker requires IPv6 to be enabled in /etc/docker/daemon.json:
{
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64"
}
After adding this, restart Docker: systemctl restart docker.
This usually means the kernel is not bridging IPv6 traffic through Docker's port forwarding rules.
Check for this warning:
docker info | grep -i ip6tables
If you see WARNING: bridge-nf-call-ip6tables is disabled, the traffic reaches the host but is never DNAT'd into the container.
Fix it (run on the host):
echo 1 | sudo tee /proc/sys/net/bridge/bridge-nf-call-iptables
echo 1 | sudo tee /proc/sys/net/bridge/bridge-nf-call-ip6tables
Make it permanent:
cat <<EOF | sudo tee /etc/sysctl.d/99-docker-bridge.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
EOF
sudo sysctl --system
Then restart your containers: docker compose restart.
docker info | grep -i ipv6
/etc/docker/daemon.json contains:{
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64"
}
systemctl restart docker.0.0.0.0) instead of IPv6 (::)Set FRPS_BIND_ADDR to :: in the container's environment. The default is 0.0.0.0 which only binds IPv4.
Verify what the container is actually listening on:
docker exec <container> ss -tlnp
0.0.0.0:7000 — IPv4 only:::7000 or *:7000 — IPv4 + IPv6[::]:7000 — IPv6 onlyCheck if ip6tables has rules that block the ports:
ip6tables -L -n
If using ufw, ensure it allows the ports for IPv6:
ufw status verbose
In Portainer:
Content type
Image
Digest
sha256:dbe57e658…
Size
24.6 MB
Last updated
6 months ago
docker pull joyki/frp_neo:client