This is a single post from deeden.co.uk made during the period May 2002 to April 2009. During a previous grand redesign I decided to make a break with the past and consign the old entries to history. This entry is from April 2005 and lives here forevermore.

Port Forwarding via wireless on OS X for Bittorrent

If you’re running Azureus, or any other Bittorrent client, on OS X, and you’re running it via wireless through another Mac which is acting as a base station then this may help you. I discovered that my Azureus couldn’t accept incoming connections on port 6881 as the iMac, operating as the base station, was taking those connections. The solution, once I had done some digging, was simple enough.

Install rinetd from boutell on to the machine that is acting as your base station. Simply download the linux version and follow the instructions in the README file. If you receive an error while compiling which says that getopt.h can’t be found then change line 13 of rinetd.c from #include <getopt.h> to #include "getopt.h" and run make again. Once it compiles successfully run make install.

On the same machine add the line 0.0.0.0 6881 <your IP> 6881 to /etc/rinetd.conf. <your IP> should be the IP address of the machine running the Bittorrent client. Finally run rinetd with /usr/sbin/rinetd and everything should be hunky-dory and hopefully your Bittorrent downloads will be faster.