Desktop Tunnels
The desktop app can create a public tunnel from Settings → Varin → Tunnel. You do not need to start Varin from the CLI for this path.
Install a provider
Section titled “Install a provider”Varin starts the provider CLI on your machine. Install the provider you want to use first:
brew install cloudflaredbrew install ngrokCloudflare uses cloudflared. Ngrok requires an ngrok account and an authtoken from the ngrok dashboard:
ngrok config add-authtoken <your-ngrok-token>Start from the app
Section titled “Start from the app”- Open Settings → Varin → Tunnel.
- Choose Cloudflare or Ngrok.
- Start a quick tunnel.
- Scan the generated QR code from your phone.
Ngrok currently supports quick tunnels. Cloudflare supports quick tunnels and managed Cloudflare modes.
Access protection
Section titled “Access protection”Even when the provider URL itself is public, Varin still protects access with its own connect token. The generated connect link contains a one-time token, has a TTL, and old unused links are revoked when you generate a new one or stop/restart the tunnel.
Related
Section titled “Related”- Tunnels — CLI tunnel usage and managed Cloudflare modes
- PWA & Mobile — reach Varin from your phone