Multi-tunnel Cloudflare Access forward proxy. HTTP + TCP.
Requires: cloudflared CLI for TCP tunnels.
npm i -g cf-forwardcf-forward add myapp \
--client-id <ID> --client-secret <SECRET> \
--target app.example.com --listen 8080
cf-forward start myapp # → localhost:8080 proxies to app.example.comcf-forward add adb \
--type tcp \
--client-id <ID> --client-secret <SECRET> \
--target adb.example.com --listen 15555
cf-forward start adb # → cloudflared access tcp → localhost:15555
adb connect localhost:15555cf-forward list # show all tunnels + status
cf-forward stop <name> # stop a tunnel
cf-forward remove <name> # delete config