|
tramadol hydrochloride IPMasquerading+Napster mini-HOWTO John E. Danner v1.6, 11 April 2000 This mini-HOWTO prese tramadol hydrochloride t a way to allow users behind an IPMasq'd system to use Napster. For information about Naps tramadol hydrochloride er, please see their website at Napster Homepage 1. DISCLAIMER tramadol hydrochloride n order to allow Napster to work correctly, you will need to put a hole in the IP Masq'd sys tramadol hydrochloride em. This inherently presents potential security problems. Unfortunately I cannot accept resp tramadol hydrochloride nsibility for this hack. So if you do this, and you get burned because of it...not my fault tramadol hydrochloride Great...now lets get into it... 2. INTRODUCTION After setting up a network for my roommat tramadol hydrochloride s and I, the problem arose that were not able to use Napster because of the IPMasquerading I tramadol hydrochloride was doing. So I put some time into and came up with this solution to the problem. I hope it tramadol hydrochloride works for you like it did for me...but I can't promise anything. 3. BEFORE YOU BEGIN I ha tramadol hydrochloride e tested this solution with the following variables: 1. Napster v2.0 Beta 5a (for Windows), tramadol hydrochloride isit Napster Homepage to ensure you have the newest version. 2 tramadol hydrochloride One external IP to the internet. 3. Currently 6 systems behind the IPMasq'd machine, 4 usin tramadol hydrochloride Napster. 4. Using Linux kernel version 2.2.12-20 (RedHat v6.1 Distribution) 5. IPMASQADM u tramadol hydrochloride ility version 0.42, get it Here 4. PROCEDURE First o tramadol hydrochloride f, ensure that you have the version (or newer) as listed above in the previous section. Also tramadol hydrochloride be sure they are installed correctly. 1. Install Napster on the Windows client PC's 2. Afte tramadol hydrochloride installation and Napster user setup, this version of Napster will begin "Finding Accepta tramadol hydrochloride le Local Data Port", after a short time an error will occur. Note: If you have already i tramadol hydrochloride stalled napster v2.0 beta 5a, under the file menu select 'Properties.' 3. At this point tramadol hydrochloride elect the second option "I am not behind a firewall or I configured my firewall - Use TCP tramadol hydrochloride port:" 4. Enter a unique number. Each computer that will be running Napster will need to tramadol hydrochloride use a different port. It may be easier to use the last number of the IP address. For exam tramadol hydrochloride le: if the computer's IP is 192.168.1.2, then 6702 would be easiest to remember. Note: m tramadol hydrochloride ke sure you don't pick ports for services that are running (i.e. 21, 110, etc...see / tramadol hydrochloride tc/services for a listing) 5. Repeats steps 1 - 4 for all systems that will be using Napster tramadol hydrochloride 6. Now login to your IPMasq'd system and modify a startup file of your choice (I choose tramadol hydrochloride to use /etc/rc.d/rc.local) The following lines pass the connection to the Napster clients tramadol hydrochloride running on the hosts behind your IPMasq'd system. (add them to the startup file - you'll tramadol hydrochloride eed to one command for each host using Napster) /usr/sbin/ipmasqadm portfw -a -P tcp -L x tramadol hydrochloride x.xxx.xxx.xxx 6702 -R 192.168.1.2 6702 /usr/sbin/ipmasqadm portfw -a -P tcp -L xxx.xxx.xx tramadol hydrochloride .xxx 6703 -R 192.168.1.3 6703 /usr/sbin/ipmasqadm portfw -a -P tcp -L xxx.xxx.xxx.xxx 670 tramadol hydrochloride -R 192.168.1.4 6704 /usr/sbin/ipmasqadm portfw -a -P tcp -L xxx.xxx.xxx.xxx 6705 -R 192. tramadol hydrochloride 68.1.5 6705 Note: XXX.XXX.XXX.XXX is the IP address of the Linux IPMasqing system (the In tramadol hydrochloride ernet IP). Note: If you are having problems with IPMASQADM or IPMasquerading in general see tramadol hydrochloride the IPMASQ-HOWTO. This document is provided to help people who have their systems configured tramadol hydrochloride The IPMASQ-HOWTO will get into a deeper discussion of port forwarding and IPMasq'd in gener tramadol hydrochloride l. 5. DYNAMIC IP AREA (Dial-up or DHCP) See this and the Procedure section if your IP addr tramadol hydrochloride ss changes everytime you connect to the internet. Thanks to Peter Illmayer for the followin tramadol hydrochloride submission to me: (This will work out best for those of you with dynamic IP's...) -------- tramadol hydrochloride --------------------------------------------------- IN debian, I created a forward file in / tramadol hydrochloride tc/ppp/ip-up.d and put in #!/bin/sh ppp_ip="`/sbin/ifconfig ppp0 | grep 'inet addr' | awk ' tramadol hydrochloride print $2}' | sed -e /usr/sbin/ipmasqadm portfw -f /usr/sbin/ipmasqadm portfw -a -P tcp -L $ tramadol hydrochloride ppp_ip} 6702 -R 192.168.0.2 6702 This is in a 2.2.x kernel with ipmasqadm installed with the tramadol hydrochloride appropriate kernel modules compiled in. --------------------------------------------------- tramadol hydrochloride ----------- Charles J. Fisher pointed out that a similar script can be used if you are usin tramadol hydrochloride DHCP, insert the following lines in a script that runs after you get your IP address. net_ tramadol hydrochloride p="`ifconfig eth0 | awk '/inet/ {sub(/addr:/,"",$2); print $2}'`" /usr/sbin/ipmasqadm portfw tramadol hydrochloride -f /usr/sbin/ipmasqadm portfw -a -P tcp -L ${net_ip} 6702 -R 192.168.1.2 6702 Of course the tramadol hydrochloride more machines using Napster behind your IPMasq'd machine the more port forwards you need to do. 6. FINISHED PRODUCT This system will allow Napster to operate properly behind an IPMasq'd system. Hopefully it works for you as well as it does for me! Please direct comments/suggestions/flames to jed204@psu.edu 7. HOWTO MAINTENANCE This is the initial version of this document. Very rough. If the interest is out there and things changes, so will this document. If anyone else has a solution they think is better...please, all means, let me know and we can discuss what the best solution possible is. 8. Copyright and License Copyright (c) 2000 by John E. Danner Please freely copy and distribute (sell or give away) this document in any format. It's requested that corrections and/or comments be fowarded to the document maintainer. You may create a derivative work and distribute it provided that you: 1.Send your derivative work (in the most suitable format such as sgml) to the LDP (Linux Documentation Project) or the like for posting on the Internet. If not the LDP, then let the LDP know where it is available. 2.License the derivative work with this same license or use GPL. Include a copyright notice and at
|