Skip to content

Instantly share code, notes, and snippets.

@JeremyJaydan
Last active January 17, 2022 13:26
Show Gist options
  • Save JeremyJaydan/8529550e38f953eaecf87b1a30df9511 to your computer and use it in GitHub Desktop.
Save JeremyJaydan/8529550e38f953eaecf87b1a30df9511 to your computer and use it in GitHub Desktop.
cloudflare argo tunnel setup
  1. Install cloudflared
wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64
sudo chmod +rwx ./cloudflared-linux-amd64
  1. Login
cloudflared tunnel login
  1. Create the tunnel
cloudflared tunnel create <NAME>
  1. Route the dns record to the tunnel
cloudflared tunnel route dns <UUID or NAME> www.app.com
  1. Run the tunnel
./cloudflared tunnel run --url localhost:8080 <UUID or NAME>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment