Contents

4. RECIPE

First off, ensure that you have the version (or newer) as listed above (in the previous section), and that you have correctly them.

  1. Install Napster on the Windows client PC's
  2. After installation and Napster user setup, this version of Napster will begin "Finding Acceptable Local Data Port", after a short time an error will occur.
  3. At this point select the second option "I am not behind a firewall or I configured my firewall - Use TCP port:"
  4. Enter a unique number. Each computer that will be running Napster will need to use a different port. It may be easier to use the last number of the IP address. For example: if the computer's IP is 192.168.1.2, then 6702 would be easiest to remember. Note: make sure you don't pick ports for services that are running (i.e. 21, 110, etc...see /etc/services for a listing)
  5. Repeats steps 1 - 4 for all systems that will be using Napster.
  6. Now, log into your Linux IPMasqing system as root and create/edit/modify the file: /etc/rinetd.conf
  7. Within that file, simply follow the scheme present below (for more info on this see the rinetd homepage Start /etc/rinetd.conf file here:
    XXX.XXX.XXX.XXX 6702 192.168.1.2 6702
    XXX.XXX.XXX.XXX 6703 192.168.1.3 6703
    XXX.XXX.XXX.XXX 6704 192.168.1.4 6704
    XXX.XXX.XXX.XXX 6707 192.168.1.7 6707
    
    End the /etc/rinetd.conf (don't include this line!)

Note: XXX.XXX.XXX.XXX is the IP address of the Linux IPMasqing system.

Note: In the event of a dynamic IP address, perhaps a script that rewrites the /etc/rinetd.conf file and restarts the 'rinetd' program would work out best for you.

Note: 'rinetd' can also be used for any other connections (passing HTTP/POP3/Telnet/etc) and there may be other programs/implementations that do this, but I like using 'rinetd'


Contents