Ngrok Senpai

NOTE: Click the weird, feather-thingy, coloured-orange, on the top-left of the page to go back.

Does your ISP use CGNAT, or just hates everyone and blocks port-forwarding? And you are too much of a wuss to call them to fix it? This is for you!

Is copy-pasting the multiple Ngrok proxies for each of your friends too hard? NGS' 'gotchu covered!

Supported Python versions

Features

Automatic installation

PS. This guide is the same for both Windows/Linux

NOTE: And no, right now, the newest release of NGS (NGS2) does not support MacOS/Darwin.

NOTE: NGS2 also doesn't support the usage of any other package manager other than Pacman (Arch) or Chocolatey (Win).

If you want to use Darwin/other package managers, you will need to install a previous version of NGS.

Step 1. Download NGS

Download NGS2 from Github.

Step 1b. Extraction

Extract the downloaded archive using Winrar or any other tool.

A popular choice is 'Tar' if you use Linux.

Step 2. Running the start script

If you are on Linux, and the start.sh script fails to start, run:

$ chmod +x start.sh
$ ./start.sh

If you are on Windows, simply double-click start.bat & accept administrator prompt.

Wait as the script installs the dependencies. If you have them preinstalled, on Linux, you can just skip the prompts.

On Windows, go to the 'config' folder, and create a new file called lock.pa with the .pa file extension. And that's it.

Step 2b. Creating an Ngrok account

Make an account on the ngrok website.

After you have made the account, navigate to the setup page

$ ngrok config add-authtoken THE-AUTHTOKEN-GIVEN

Change 'the-authtoken-given' to the one given on the website.

Step 2c. Configuring everything

In the menu, enter '2' as the choice, and configure everything to your liking.

Read the prompt, and type 'Y/N' or whatever it asks for. Your Ngrok-Auth token is necessary if you want to use the NGROK-Autostart feature. If you do not want to enter the token, you can go to the Ngrok setup page, and manually set it up.

Otherwise, your Ngrok authtoken should be on this page.

Step 2d. Entering the Webhook URI

Edit Webhook URL

Go to Discord, your server, the channel, and click on settings. Then go to integrations, and expand it.

Click on the desired integration, and copy the URL as shown. Then enter it in the prompt.

Step 3. Starting NGS

In the menu, enter '1' as your choice to navigate to the start menu. This will automatically start the client.

After 5-10 seconds, it should send the links. If it does not, use an older version of Ngrok and refer to the Manual guide down below.

Manual installation

Please note that the below guide is deprecated.

Installation for Archlinux

Step 1: Installing ngrok

Step 1a: Install snap

$ cd ~/
$ git clone https://aur.archlinux.org/snapd.git
$ cd snapd
$ makepkg -si

Step 1b: Install ngrok

$ sudo snap install ngrok

Step 2: Making an account and logging in

Make an account on the ngrok website.

After you have made the account, navigate to the setup page.

$ ngrok config add-authtoken THE-AUTHTOKEN-GIVEN

Step 3: Starting Ngrok

You can start 3 ngrok tunnels in locations: in, ap, eu, au, and us.

$ ngrok tcp --region eu 25565
$ ngrok tcp --region ap 25565
$ ngrok tcp --region in 25565
$ ngrok tcp --region au 25565
$ ngrok tcp --region us 25565

Let's say you have 3 friends (impossible). One is from Amsterdam, one is from Sydney, and the other one is from Hong Kong. This is perfect as you can only operate 3 Ngrok tunnels per account (max).

You start the tunnels.

Step 4: Running the tool

Copy the webhook URL

Webhook URL

Navigate to Line 26, and edit this:

discord_webhook_url = "ur_webhook_noob"

with the actual webhook URI.

Edit Webhook URL

After you have added the URL, run the following command in the directory where ngroksenpai.py is located.

$ sudo python ngroksenpai.py

Enter your password and it should send the links in Discord!

Installation for Windows

Step 1: Installing Ngrok

Install ngrok. You can choose the 64-bit version or the 32-bit version.

Step 2: Making an account and logging in

Make an account on the ngrok website.

After you have made the account, navigate to the setup page.

Open a command prompt window in the folder where you downloaded ngrok, and type

$ ngrok.exe config add-authtoken THE-AUTHTOKEN-GIVEN

Step 3: Starting the service

Open a command prompt window in the folder where you downloaded ngrok.

You can start 3 ngrok tunnels in locations: in, ap, eu, au, and us.

$ ngrok tcp --region eu 25565
$ ngrok tcp --region ap 25565
$ ngrok tcp --region in 25565
$ ngrok tcp --region au 25565
$ ngrok tcp --region us 25565

Select the region closest to your friends.

IN is India, AP is Asia Pacific, EU is Europe, AU is Australia, and US is the United States.