frp
downloads
config
https://github.com/fatedier/frp/blob/dev/conf/frps_full_example.toml https://github.com/fatedier/frp/blob/dev/conf/frpc_full_example.toml
docker
services:
frps:
image: gists/frp
restart: unless-stopped
network_mode: "host"
volumes:
- ./data/frp/frps.toml:/frps.toml
command: frps -c /frps.toml
frpc:
image: gists/frp
restart: unless-stopped
volumes:
- ./data/frp/frpc.toml:/frpc.toml
command: frpc -c /frpc.toml
frps.toml
bindAddr = "0.0.0.0"
bindPort = 35000
webServer.addr = "0.0.0.0"
webServer.port = 7000
webServer.user = "username"
webServer.password = "password"
auth.token = "token..."
frpc.toml
user = "Some_Device"
serverAddr = "frps_server_address"
serverPort = 35000
auth.token = "token..."
[[proxies]]
name = "ssh"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 22222