Forward a local port to a public URL using Ngrok.
This project provides a Python script to forward a local port to a public URL using Ngrok. It allows developers to expose their local development environment to the world with ease.
- Port Forwarding: Forward a local port to a public URL using Ngrok.
- Protocol Support: Supports TCP and UDP protocols.
- Optional Settings: Optional authtoken, region, and binary path settings for customization.
- Rich Console Interface: Rich console interface for easy use.
- Add Support for Multiple Protocols: Implement support for multiple protocols simultaneously.
- Clone the repository:
git clone https://github.com/real0x0a1/ngrok-port-forwarder.git
- Install dependencies:
pip3 install -r requirements.txt
- Run the script
main.py
:
python3 main.py
- Follow the prompts to enter the port, protocol, and optional settings.
You can set the following environment variables to customize the script:
NGROK_AUTHTOKEN
: your Ngrok authtokenNGROK_REGION
: the Ngrok region to use (e.g. us, eu, etc.)NGROK_BINARY_PATH
: the path to the Ngrok binary
Contributions are welcome! Fork the repository and submit a pull request.
Please open an issue on the GitHub repository for any bugs or feature requests.
real0x0a1 (Ali)