Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

cf-forward

Multi-tunnel Cloudflare Access forward proxy. HTTP + TCP.

Requires: cloudflared CLI for TCP tunnels.

Install

npm i -g cf-forward

Usage

HTTP (existing)

cf-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.com

TCP (ADB, SSH, etc.)

cf-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:15555

Manage

cf-forward list          # show all tunnels + status
cf-forward stop <name>   # stop a tunnel
cf-forward remove <name> # delete config

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages