Skip to content

Instantly share code, notes, and snippets.

Avatar

Krishanu krishanudey

  • CodeCraft Technologies
  • Bengaluru, Karnataka, India
View GitHub Profile
@lyoshenka
lyoshenka / ngrok-selfhosting-setup.md
Last active April 27, 2023 16:38
How to setup Ngrok with a self-signed SSL cert
View ngrok-selfhosting-setup.md

Intro

The plan is to create a pair of executables (ngrok and ngrokd) that are connected with a self-signed SSL cert. Since the client and server executables are paired, you won't be able to use any other ngrok to connect to this ngrokd, and vice versa.

DNS

Add two DNS records: one for the base domain and one for the wildcard domain. For example, if your base domain is domain.com, you'll need a record for that and for *.domain.com.

Different Operating Systems