Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
Old-school New Cool.

Xuanliang Cui Yaoshicn

😎
Old-school New Cool.
View GitHub Profile
@Yaoshicn
Yaoshicn / ngrok-selfhosting-setup.md
Created Feb 27, 2017 — forked from lyoshenka/ngrok-selfhosting-setup.md
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

You can’t perform that action at this time.