UPnP-PortMapper
UPnP-PortMapper is a Java application which makes port forwarding easy. It works on Windows, OS X, Linux and *BSDs.
Note that your router must support UPnP and it must be enabled. On most routers, it is enabled by default.
Download link: here
Download it then run it with Java (right click > Open With > Java). On Linux, make sure it is executable -- if it is not, then type this after using the "cd" command to go to the folder where you placed the .jar file:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
chmod -v +x PortMapper-1.9.5.jar
upnpc
upnpc is a command-line tool for Linux and Windows. It can be found in distributions' repositories (at least for Debian/Ubuntu, probably other distributions too).
Download link for Windows: here
On Linux, just install it using your package manager.
Instructions:
Add port forwarding:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
upnpc -a <INTERNAL IP> 30000 30000 UDP
(you can see your internal IP with "ifconfig" on Linux, "ipconfig" on Windows)
List active port forwardings:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
upnpc -l
Remove a port forwarding:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
upnpc -d 30000 UDP