Port Forwarding via Ngrok – Simple CLI Tool Built with Node.js
████████████
██
██
████████████ █████████ ██ ████ ██████ ██ ███
██ ██ ██ ██ ██ ██ ██ ██ ███
██ ██ ██ ████ ██ ██ █████
██ █████████ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ███ ██ ██ ██ ██ ██ ██
█████ ██ ██████ ██ ███
Fgrok - Port Forwarding with Ngrok
Usage: fgrok [Options] | <Port>
Options:
http Forward HTTP Server
tcp Forward TCP Server
help Print help
version Print Fgrok version
Examples:
fgrok http 8080 | fgrok tcp 3000Fgrok is a lightweight CLI for port forwarding using the Ngrok API. With Fgrok, you can quickly open public access to your local server with just a single command.
- Easily forward HTTP and TCP servers
- Automatically store Ngrok authtokens locally
- Simple, interactive CLI
- No complicated configuration
Make sure you have Node.js (>=16) and npm installed.
$ git clone https://github.com/ZeltNamizake/fgrok
$ cd fgrok && npm install @ngrok/ngrok@1.5.0
$ npm linkIf this is your first time running fgrok, you'll be prompted to enter the Ngrok authtoken. The token will be automatically saved in the .token.txt file.
[*] Enter your authtoken ngrok:
[+] Success, please restart ngrok
[+] Forwarding HTTP server on port 8080:
https://randomstring.ngrok-free.app