DonationCoder.com Forum

Main Area and Open Discussion => General Software Discussion => Topic started by: wilfrednilsen on January 15, 2008, 06:23 PM

Title: Automatic port forwarding for servers, BitTorrent, etc
Post by: wilfrednilsen on January 15, 2008, 06:23 PM
Some network programs require that you configure port forwarding in your router, so that they will work properly. This is confusing to many people, causing many newcomers to give up :-[ For those who know what they are doing, it is time consuming. There is a quicker and easier way.

Fortunately, most routers support a standard called Universal Plug and Play (UPnP), meaning that you can use the BaUPnP tool to update your port forwarding settings, without going through all the menus in your router.

BaUPnP is a free command line utility that automates the process of forwarding your ports.

The tool, by default, configures port mapping for the two ports used by web-servers - that is port 80 (HTTP) and port 443 (HTTPS). You are able to use your own arguments for any service you want.

The following example configures port mapping for FTP (port 21) and Telnet (port 23):

BaUPnP.exe 21 23

It doesn’t get much easier than that  :Thmbsup:

BaUPnP Home Page:
http://barracudaserver.com/products/tools/upnp/
Title: Re: Automatic port forwarding for servers, BitTorrent, etc
Post by: mouser on January 15, 2008, 06:29 PM
Hi wilfred,

looks interesting --
one thing though, if this your tool or from your company you need to say so (i just mention that because this reads a bit like an advertisement or something).
Title: Re: Automatic port forwarding for servers, BitTorrent, etc
Post by: wilfrednilsen on January 15, 2008, 06:37 PM
one thing though, if this your tool or from your company you need to say so

Sure, this is a tool from Real Time Logic, but it is completely free. We do not ask for donations  :P
Title: Re: Automatic port forwarding for servers, BitTorrent, etc
Post by: justice on January 15, 2008, 06:42 PM
so because this program runs on the local machine it only forwards these ports for the one IP address? that would make it very useful to install for friends forexample.
Title: Re: Automatic port forwarding for servers, BitTorrent, etc
Post by: wilfrednilsen on January 16, 2008, 11:00 AM
so because this program runs on the local machine it only forwards these ports for the one IP address? that would make it very useful to install for friends forexample.

Yes, you do not need to install the program. Simply download and run it on any local computer.

The program basically tells the router the following: Hi, I want you to forward port XX to my IP address, i.e. your PC’s IP address.

You can run the program on multiple computers on your LAN.
The ports cannot be the same since the router can only forward port XX to one PC, though port YY can be forwarded to another PC.
Title: Re: Automatic port forwarding for servers, BitTorrent, etc
Post by: f0dder on January 16, 2008, 06:33 PM
Too bad that not all routers support uPNP :(, also many applications already come with built in uPNP support, and in that case you wouldn't need this tool.

But could come in handy for other situations :)