Skip to main content

Ngrok

  • Source: https://github.com/ngrok/ngrok (CLI open source; service is proprietary)
  • License: MIT (CLI)
  • Alternatives: Cloudflare Tunnel, Tailscale, localtunnel, bore
  • Status: Unnecessary with VPN

Punches a hole to the internet, allowing access to a specific port on your machine from anywhere without port forwarding on your router.

ngrok http 80

# Generate run command from env vars
source .env && echo "ngrok http --url=$NGROK_URL $PORT"