Skip to content

Instantly share code, notes, and snippets.

@vinhjaxt
Last active February 14, 2025 03:10
Show Gist options
  • Save vinhjaxt/51d1a6ff39982c2ed4ef09fdf512b912 to your computer and use it in GitHub Desktop.
Save vinhjaxt/51d1a6ff39982c2ed4ef09fdf512b912 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