mirror of
https://github.com/Kiritow/image-station.git
synced 2024-03-22 13:30:54 +08:00
788 B
788 B
frpc
frp is a fast reverse proxy written in Go.
Use with Podman Pods.
Example: The following command expose port 8080 inside pod to frp server 192.168.0.1:28080, which listens on port 7000.
podman run --pod=... -d frpc 192.168.0.1 7000 test-service tcp 8080 28080
With token:
podman run --pod=... -d -v tokenFile:/tmp/token frpc -f /tmp/token 192.168.0.1 7000 test-service tcp 8080 28080
Usage
launcher [-ezkn] [-p PoolSize] [-f TokenFile] ServerIP ServerPort ProxyName ProxyType LocalPort RemotePort
-e
Use encryption
-z
Use compression
-k
Use KCP protocol
-n
Don't start frpc. (dry-run)
-p PoolSize
Frp worker pool size
-f TokenFile
Use Token
-m Key=Value
Define metadata