ngrok-tunnels

Installation
SKILL.md

This skill provides guidance on setting up ngrok tunnels, especially for services requiring persistent external access like Minecraft servers. It covers API key management, reserving static TCP addresses, and integrating with systemd for automatic startup.

Setup & Configuration

  1. Install ngrok: Follow the official ngrok documentation for installation.
  2. Authenticate: Use ngrok authtoken <YOUR_AUTH_TOKEN> to set up your authentication token.

Reserving a Static TCP Address (Hobbyist Tier and Above)

For persistent access where the address doesn't change on tunnel restart, you need an ngrok paid account (e.g., Hobbyist tier) to reserve a TCP address.

Pitfall: API Key vs. Authtoken

ngrok api commands (like reserved-addrs create) require a separate API key, which is distinct from the authtoken used for general tunnel launching. Pass the API key using the --api-key flag with ngrok api commands, or ensure it's configured correctly in your ~/.config/ngrok/ngrok.yml (refer to ngrok documentation for the correct v3 config format for API keys).

Installs
1
GitHub Stars
11
First Seen
5 days ago