An open API service indexing awesome lists of open source software.

https://github.com/emp0ry/tcp-port-opener


https://github.com/emp0ry/tcp-port-opener

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# TCP port opener with python

First, register on the [ngrok](https://dashboard.ngrok.com/get-started/your-authtoken) website and copy your token

The latest version can be downloaded from the [ngrok](https://ngrok.com/download) website (download for windows and put with main.py in one folder)

**• Configuration •**
```python
TOKEN = "Your Token" # https://dashboard.ngrok.com/get-started/your-authtoken
PORT = "Your Port"
REGION = "Your Region" # United States, Europe, Asia Pacific, Australia, South America, Japan, India
```

• Example for minecraft server in european region •
```python
TOKEN = "2casAfAdgfgAsdgdgE0AGDu_UDGDSzf7eDFGSDF" # https://dashboard.ngrok.com/get-started/your-authtoken
PORT = 25565
REGION = "Europe" # United States, Europe, Asia Pacific, Australia, South America, Japan, India

# output #
---------------------------------------------------------------
# Region Europe (eu)
# Web Interface http://127.0.0.1:4040
# Local 192.168.1.17:25565
# Public 3.68.156.221:10135 or 7.tcp.eu.ngrok.io:10135
---------------------------------------------------------------
```