Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cculianu/cliupnp
A command-line tool for opening up UPnP ports on your router.
https://github.com/cculianu/cliupnp
Last synced: about 2 months ago
JSON representation
A command-line tool for opening up UPnP ports on your router.
- Host: GitHub
- URL: https://github.com/cculianu/cliupnp
- Owner: cculianu
- Created: 2023-11-03T07:33:30.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-31T13:46:51.000Z (5 months ago)
- Last Synced: 2024-10-13T16:32:05.119Z (3 months ago)
- Language: C++
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cliupnp
A command-line tool for opening up UPnP ports on your router. Compiles on Linux, Mac, and Windows (using mingw32).
Requires: `miniupnpc` must be installed on the system to compile and run.## Instructions
After compiling, do `./cliupnp --help` to see the options (there aren't many).
```
Usage: cliupnp [--help] [--version] [--debug] portPositional arguments:
port One or more ports to open up on the router [nargs: 1 or more]Optional arguments:
-h, --help shows help message and exits
-v, --version prints version information and exits
-d, --debug Enable extra debug logging
```The program just accepts some port(s)s as 1 or more arg(s) and then contacts the router to keep them open and routed to your computer's IP.
Leave the program running to keep the ports open, interrupt the program (with `CTRL-C`) to close them.
Note: Not all routers have UPnP or have it enabled, so you will get an error message and the program will exit if that is the case.Enjoy!