{"repo":"sarperavci/PortGate","free":true,"listed":false,"github":"https://github.com/sarperavci/PortGate","clone":"git clone https://github.com/sarperavci/PortGate.git","description":"Easily expose local services to the internet. PortGate manages router port forwarding (UPnP/NAT-PMP) directly from the command line, replacing 3rd party services like Ngrok.","language":"Python","stars":17,"topics":["ngrok","port-forwarding","reverse-shell","self-hosted","server","shell","tunnel","tunneling"],"license":"MIT","category":"cli-tools","readme_excerpt":"PortGate A command-line utility to manage port mappings on your local router using UPnP/NAT-PMP. Easily open, close and list ports to expose local services (web servers, game servers, etc.) to the internet without Ngrok, Cloudflare, Serveo, etc. Quick Start Just run the following command to open a port on your router. Features - Open new port mappings with custom descriptions and TTL - Remove existing port mappings - List all active port mappings - Refresh/renew specific port mappings - Clear all port mappings created by PortGate - Display router information and WAN IP Installation For Python users Use pip to install PortGate. For Windows users (No Python required) Download the standalone Windows executable: 1. Download portgate-windows x64.zip 2. Extract the ZIP file 3. Run portgate.exe from the command prompt Usage Quick Mode (Recommended) Just specify the local port you want to forward to the internet. Example: Command Line Interface Commands Command Description ---------- ---------------------------------- add Open a new port mapping remove Remove an existing port mapping list List all active port mappings refresh Refresh/renew a specific mapping clear Remove all mappings by PortGate info Show router & WAN IP info Options for add Option Description Default --------------------- -------------------------------------------- ------------- -p, --port Internal port to forward Required -e, --external External port Same as int. -P, --protocol Protocol: TCP, UDP, or BOTH TCP -d, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/sarperavci","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sarperavci/PortGate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}