Skip to main content

Ngrok integration

MCmdLogger has builtin integration with Ngrok, that allows you to make MCmdLogger fake server publicly available without buying dedicated IP and configuring port forwarding on router.

Tutorial

Step 1

Visit ngrok.com and login / create account.

Copy this part of string (outlined on image):

Ngrok token

Step 2

Run MCmdLogger, enter any free port and target server host.

Step 3

Run ngrok setup TOKEN (paste copied value instead of "TOKEN").

Step 4

Run ngrok start to start ngrok tunnel. This can take some time at first execution, because it would download ngrok client. After installing ngrok it would automatically start tunnel and show you IP and corresponding domain.

note

After the first use of ngrok integration, MCmdLogger will save the token to the config file, so that next time you only need to perform Step 2 and Step 4.

Commands

There are commands related to ngrok integration. These are console commands that need to be entered into the MCmdLogger console.

UsageDescription
ngrok setup <token>Save your ngrok token to config
ngrok region <region>Set ngrok region (us, eu, ap, au, sa, jp, in, us-cal-1)
ngrok startStart tunnel
ngrok stopStop tunnel