Command Line Tool

Modified on Sun, 1 Apr, 2018 at 12:33 AM

UPnP Wizard Command Line is an optional utility that installs along with UPnP Wizard.  You can find the command line version named UPnPWizardC.exe in the UPnP Wizard install directory.  You can use the command line version for automated tasks in conjunction with the Windows Task Scheduler such as making sure that a port mapping is always available when Windows starts.

Available Options:

-list
Lists all existing port mappings.
-add
Add a new port mapping. See Below for usage.
-remove
Removes the specified port mapping.
-help
Displays this help message.
-about
Displays the about message.

Usage:

-add <Name for port mapping.> -ip <IP Address> -intport <Internal Port> -extport <External Port> -protocol <TCP/UDP>

-remove <Name of port mapping to remove>

Examples:

To add a port mapping named "Game" with for the IP of 127.0.0.1 with an internal and external port of 8080 or the TCP protocol use:

UPnPWizardC.exe -add Game -ip 127.0.0.1 -intport 8080 -extport 8080 -protocol TCP

To remove the "Game" port mapping use:

UPnPWizardC.exe -remove Game

To list all the existing port mappings use:

UPnPWizardC.exe -list

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article