https://github.com/emp0ry/tcp-port-opener
https://github.com/emp0ry/tcp-port-opener
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/emp0ry/tcp-port-opener
- Owner: emp0ry
- License: mit
- Created: 2023-01-22T21:13:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-18T11:44:23.000Z (about 1 year ago)
- Last Synced: 2024-03-18T13:00:38.330Z (about 1 year ago)
- Language: Python
- Size: 8.49 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
---------------------------------------------------------------
```