
Security News
Scaling Socket from Zero to 10,000+ Organizations
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.
node-red-contrib-ngrok
Advanced tools
This is a client (ngrok-javascript) to expose and manage the popular tunnelling service ngrok from Node-RED.
You can start and stop a tunnel using the button on the node or by injecting values, the node will then output the ngrok host address as the msg.payload
The tunnel will expose the port that your Node-RED GUI is running on (eg 1880), you can override this port by setting the Port value in the node.
The 3.0.0 release uses the new ngrok javascript client, as such region support has been removed an it now uses ngrok's new global load balancing service. The new client no longer offers the local debug console on port 4040, however ngrok have a new console as part of the dashboard in beta as of Feb 2024.
Account registration is now required but all users get one free reserved tunnel address even on the free plan.
Other optional fields around the host and port that the connection is forwarded to along with adding auth or setting up a TCP tunnel are configurable within the node, consult the built in help or the ngrok documentation for an explanation.
For dynamic control, there is a demo flow included. Use CTRL+I then choose examples → node-red-contrib-ngrok → dynamic-control-demo
By running this node you will be exposing your Node-RED install to the public internet, therefore you are strongly advised to set an admin password on the editor. read (https://nodered.org/docs/security)
Feedback, Issues and PRs welcome on github.
If your node-red logging level is set to `debug` then the full set of options being passed to the ngrok client (ngrok.forward) will be logged to the console, *including the authtoken*,
This can be useful when trying to diagnose issues and may be asked for by ngrok support. Please include this info (redacting your authtoken) in any issues asking for support.
The simplest way to enable this logging if running node-red from the command line is to launch with the command `node-red -D logging.console.level=debug`
Pre-built binaries are provided on NPM for the following platforms:
| OS | i686 | x64 | aarch64 | arm |
|---|---|---|---|---|
| Windows | âś“ | âś“ | * | |
| MacOS | âś“ | âś“ | ||
| Linux | âś“ | âś“ | âś“ | |
| Linux musl | âś“ | âś“ | ||
| FreeBSD | âś“ | |||
| Android | âś“ | âś“ |
Note
ngrok-javascript, and ngrok-rust which it depends on, are open source, so it may be possible to build them for other platforms.
Windows-aarch64will be supported after the next release of Ring.
FAQs
Node-RED node to wrap and control ngrok
We found that node-red-contrib-ngrok demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.

Research
Socket Threat Research maps a rare inside look at OtterCookie’s npm-Vercel-GitHub chain, adding 197 malicious packages and evidence of North Korean operators.

Research
Socket researchers identified a malicious Chrome extension that manipulates Raydium swaps to inject an undisclosed SOL transfer, quietly routing fees to an attacker wallet.