NgrokAuth support

Hi

I've just added Ngrok to test sending a custom rest api over the internet.

I've followed a few steps to get setup, but run into an issue when I deploying.

' Flows stopped due to missing node types.

  • ngrokauth
  • ngrok '

What I have done.

  • setup Ngrok account and added the authtoken to properties - authtoken
  • set port to 1880
  • Protocol to HTTP
  • Input Type to Input Port
  • I have a json in and debug out of the Ngrok node.

Please see images attached, any advice or hints to whether I'm missing anything important for the Ngrok properties would be much appreciated.

Thanks

I put out a secure configuration for NGROK some time back in the forum. You might want to look at that, the configuration you've specified there is not secure.

Also, do you really want your security settings inside Node-RED? Might it not be better to simply use the command line version? That's what I've done. I have a Telegram bot that lets me turn on/off NGROK so I don't need to leave it running all the time and then I think it is an exec node to run the command. I'd need to look up the details, with lockdown I haven't needed to use it in a long time.

1 Like

@TotallyInformation Thanks, I will follow and only plan on exposing for short periods of time/when in use, Telegram bot to turn on/off will work great.

In regards to the ngrok node - when testing I can expose the web inference : flow (http:// ip:1880). however can I exposing a root of 1880 such as UI , etc so the ngrok web inference is for example http:// ip:1880/UI

I haven't been able to find node red documentation on this and whether I can do this in the properties of ngrok node.

Cheers in advance

I don't use the node so I can't help with that I'm afraid. What I will say again is that your configuration is not secure. While you may only be exposing for a short period, an endpoint that appears in the internet will be attacked in <30sec.

HTTPS should ALWAYS be used.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.