Skip to content

Instantly share code, notes, and snippets.

@teebow1e
Forked from vinhjaxt/cloudflared-rdp.sh
Created February 14, 2025 03:10
Show Gist options
  • Save teebow1e/08f82649c33237fdd87ae94b72b2d12d to your computer and use it in GitHub Desktop.
Save teebow1e/08f82649c33237fdd87ae94b72b2d12d to your computer and use it in GitHub Desktop.
# remote
./cloudflared --url tcp://127.0.0.1:3389
# local
./cloudflared access tcp --hostname uncertainty-saints-newark-martin.trycloudflare.com --url 127.0.0.1:3388
# rdp to 127.0.0.1:3388
# remote
./cloudflared --url ssh://127.0.0.1:22
# local
./cloudflared access ssh --hostname uncertainty-saints-newark-martin.trycloudflare.com --url 127.0.0.1:2222
ssh [email protected] -p 2222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment