View Single Post
  #1 (permalink)  
Old June 4th, 2001
Mike Peralta Mike Peralta is offline
Disciple
 
Join Date: June 4th, 2001
Location: Here
Posts: 12
Mike Peralta is flying high
Talking Need to Get Gnutella going on a home Network ? THE ANSWER!!!

ok everyone, I figured out port mapping for myself and decided to put together this tutorial for those of you who want to run gnutella off a computer not directly connected to the internet but don't know how. If you quote or post this text file please keep it in its entirety as it has already been registered with the library of congress. Hopefully you'll pass it out on gnutella aha.


--------------------



Ok this ones for all you guys out there just like me who aren't gifted enough to figure this **** out on your own. In my time I've been helped and given advice endless times by wonderful individuals who's only goal was to feel good about bettering the community by helping people out. I dedicate this tutorial to all you.

------------------------------------

HOW TO GET GNUTELLA TO RUN ON YOUR COMPUTER, EVEN IF YOU'RE NOT DIRECTLY CONNECTED TO THE INTERNET, FOR FREE.

An important note - nothing is guaranteed to work here and you have to assume all risk for doing whatever. This way the annonymous writer of this can't be tracked down and beaten because you f-ed up and blew up your computer. Ahahah. Also feel free to redistribute this text file as long as you don't change it in any way.
---------
This tutorial assumes and requires that you have at least 1 computer hooked up to the internet, and it is networked via LAN to the computer you wish to get onto gnutella. First head on over to www.analogx.com and grab a copy of their port mapper. You need those 2 tools in order to proxy out the internet and then port map. If you already have a port mapper, try to follow along as best you can as yours shouldn't be TOO different from this one, if you're a network administrator with a NAT, go to hell.

Ok before you start you need to get the internet computer online, and to find out all your IP addresses. Find the file named winipcfg or ipconfig or something similar residing in C:\Windows\ and run it. What it will do is tell you the IP address of each network adapter type thingy so you can communicate between computers. Use its pulldown menu to find your actual internet address - which should be linked to the PPP or PPPoE adapter or something similar looking. Lets say its 1.2.3.4 for this tutorial. Now use the drop down menu again to find the address your network card is using. This is probably going to say netgear or linksys or something... If you only have 2 choices from your drop down menu guess what? Its easy - one is the PPP crap and one is your network card. Lets say the internet computer's network card address is 192.168.0.1 ... Now go to YOUR computer - the shitty one not plugged into the internet but on the same network as the internet computer and do the same thing... Only since its not on the internet we're only looking for the network card's address (called a LAN address too(LAN stands for Local Area Network)). Lets say yours has the address 192.168.0.2

Now basically what you want to do is start up gnutella on the internet computer - meaning connect using limewire or bearshare or whatever it is you use, and in the options make sure it will accept incoming connections. Then, on YOUR computer, start up gnutella and set your, "Keep this many connections up" to just 1 (doesn't really matter though). Then in the field where you can manually add in a server, add in the LAN address of the internet computer , which in this case was 192.168.0.3 ...If it doesn't work make sure the port is 6346 (the gnutella port). Anyways, it should then say on your computer that you're connected to one server and may or may not show any stats. What cool though, is that you can now search all the files that the internet computer can search. Make sure the internet computer is actually running good on the gnutella network, and try it out. Cool huh?

Now all you need to do is map a port to your computer. What this means is that when the internet computer receives a file with your port number on it, the file will get sent to you. Lets say that I run a website server and an ftp (file) server, and some kind of chat program. The website server listens for port 80, the ftp for 21 and the chat program 1111 (whatever). Ports aren't that complicated - its only really an incoming request saying, "hello I need whatever is assigned to the number 80" .... If someone from the internet connects to your IP address and port 80 (which is what your web browser does), your web server would come in and go, "ok port 80 is me, here is some website stuff"... If they asked for your address and then port 21, they'd get your ftp and if 1111, your chat program. Assuming your internet computer was running on 1.2.3.4 like we said before, it would look like this to the other computer - 1.2.3.4:80 or 1.2.3.4:1111 etc.... So now what we're going to do when we map a port, is to say, "port 10000 belongs not to a program, but to my computer not on the internet"... That way all you do is tell gnutella you're on 1.2.3.4:10000 , and when someone tries to send you a file they hit 1.2.3.4:10000 on your internet computer, and your internet computer goes ok thats the non-internet computer at 192.168.0.2 ... Kind of tricky but just follow the instructions and let it sink in later

Ok now on the internet computer start up the analog X port mapper, click on 'configure' then 'configure mapping' ... You should see a blank white box, and a button on the bottom labeled, "Add" which you should click. Into the box labeled, "Port" type in any port you want which you know isn't being used. Since gnutella uses 6346 I just entered 6348 since its close but not the same number - whatever. Then where it says, "Target local host" or whatever enter the LAN address of YOUR computer - in this case its 192.168.0.2 , followed by the port you want to ask for on your computer. I just put 6349. It should look like this - 192.168.0.2:6349 ... What its doing is when someone on the gnutella network contacts your internet computer going, "I have a file for whatever is assigned to 6348"... the internet computer goes, "ok thats the non-internet computer" ... then it sends out a message of its own, saying, "ok file here for whatever is listening on 6349"... To which gnutella on your computer would go, "ok thats me" (we'll configure that part next). So basically after you entered 192.168.0.2:6349 into the target field, make sure the other 2 boxes read, "TCP" and "Any Interface" and click ok. You should then see a kind of summary of it in that white box again. Click done until it all minimizes. Almost there!!!!'

Now, go to YOUR computer and pull up gnutella again... You need to configure gnutella so it tells the network, "I'm at the internet computers internet address at this port" ... It is different for different clients, but basically on limewire go to options and then click on the advanced tab. From there check the "force IP" box... and then in the text box enter the internet address of the internet computer - in our example it was 1.2.3.4 then set the port to 6348. What this all does is tell gnutella, "i'm at 1.2.3.4 on the internet, port 6348, or 1.2.3.4:6348".. This is cool because when they ask for that your port mapper kicks in and sends it to you. See the trick? Now the last thing - you have to make your computers gnutella software listen for what the port mapper is going to send you. Remember that the port mapper listened for port 6348, then sent it off to 192.168.0.2:6349? Now gnutella on your computer is going to have to go, "oh port 6349 is me". Simply go to "options" and then the network tab, and change the "Listening port" to 6349.
CONGRADULATIONS!!!!!!!! Everything should be GOOD TO GO!!!!!

run er up and test her out.

------To the real techies out there I am sure I could have leaved the 6349 port to 6346 but I left it that was because it was untested and I needed to show contrast to these readers.

------ALSO!! If you benefitted from this tutorial please please remember that great things like this can only happen if people try to put back into the community. All it takes is 1 person to think up a sweet new trick or tutorial and upload it to a good website and the whole WORLD gets to benefit from it. All I did was take 30 minutes of my time to share what I've learned and all the poor people who couldn't get this to work before can now enjoy it.. So if you have a trick you can do to some program, or you figured out something that you think others will have a hard time with, open your notepad, type it up, and upload it to a related website or someone you trust to distribute it. You will feel really really good I promise you Also feel free to take this paragraph and add it in to your own tutorial, thereby spreading this message of good-will.

------One final note - A good friend of mine writes alternative music and has his own website where you can download his music, see band pictures, and see upcoming gig dates. If you're into this kind of music head on down to http://www.mikeperalta.com and listen to the stories he has to tell. Its pretty cool.


Ok I'm out - Peace!
Reply With Quote