Get P2P Working behind a Firewall (Tutorial Contest)

chiragchirag MemberNAT Warrior
DISCLAIMER: This tutorial helps you to connect applications like Kazaa, Yahoo Messenger or any other P2P through your ISP's Firewall. Please refrain from using this information if it is ILLEGAL or AGAINST YOUR COMPANY/INSTITUTION POLICIES to use these applications at your workplace or college. I (or Digit Community) do NOT take any responsibility for the consequences that might arise from illegitimate use of this information


I've seen so many posts concerning P2P softwares which done work because your institute has a firewall installed.

So I thought to make create a tutorial out of it.

Get Kazaa Working Behind a Firewall

1. HTTP - Tunnel -> http://www.http-tunnel.com/html/solu...nel/client.asp
This software converts all socks requests going from your computer into HTTP- requests ..
Install the software and configure it to use a specified proxy if you have one or put it in 'no proxy, only firewall' mode .. whichever is applicable to you
Now, run HTTP-Tunnel

2. Configure Kazaa to use SocksProxy with IP: 127.0.0.1 Port:1080

That's it .. Wait for Kazaa to connect.
First connection may take very long, as much as the whole night. But once connected, Kazaa will connect instanteneously.

mIRC

I tried a few methods for connecting mIRC behind firewall. I was able to connect it, but I coudnt figure out how to downloads. The following method is exactly same as that described for Kazaa and it only connects to chat, doesnt allow downloads.

1. Get HTTP-Tunnel just like described above.
2. Go to Options->Connect->Firewall->
Firewall Support = None
Protocol = Socks4
HostName = 127.0.0.1 ( or localhost )
Port = 1080
No user/passw

This will connect IRC only for chat. I dont know how to download files using this.
Somebody help me here !!

Get Bittorrent Working behind a Firewall

You need,
1. A Bittorrent Client called BitConjurer -> http://bittorrent.com/download.html
Dont try any other client .. cos im not very sure it works for others or not
Download and install the client .. It wont create any shortcuts or anything .. It will simply copy required files in 'C:\Program Files\BitTorrent\' directory

2. SocksCap -> http://www.socks.permeo.com/Download...load/index.asp ( 32bit version )
This software converts all GET requests from an application to access internet into Socks-requests ..
Download and install it ..
In SocksCap settings write Socks Server: 127.0.0.1 Port: 1080
i will tell you how to use it ..

3. HTTP - Tunnel -> http://www.http-tunnel.com/html/solu...nel/client.asp
This software converts all socks requests going from your computer into HTTP- requests ..
Install the software and configure it to use a specified proxy if you have one or put it in 'no proxy, only firewall' mode .. whichever is applicable to you
Run HTTP-Tunnel

Now,
4. Download the .torrent file from internet .. ( i hope you know sites from where this can be done )
Say the file name is "my movie.torrent". Put this file in a directory where you want to download the movie. Say "E:\movies\" ... so the total path of file is "E:\movies\mymovie.torrent"

5. Now, open SocksCap .. press 'New'
Now Give ...
Profile Name = anything you like
Command Line = "C:\Program Files\BitTorrent\btdownloadgui.exe" "E:\movies\mymovie.torrent"
Working directory = "E:\movies\"

Look the command line closely ... its -> "path to btdownloadgui.exe file" *space* "path of .torrent file"
and the working directory is the directory where .torrent file is stored

6. Now simply 'Run' the entry you've just made ...
It will open a small window where you can see the status of your download file ...

I hope this whole this is clear.
If there are any doubts just post it here

NOTE::::In this whole operation (bittorrent one), I've noticed that Internet Explorer proxy should be kept in "Automatically Detect" mode. Dont specify any proxy in Internet Explorer during this whole operation. This is true even if your primary browser is Firefox/Opera or anything else. Windows sometimes uses IE proxy in many applications even if IE is not your primary browser.

PS: Obvious Question:: Why doing all this $hit ?
Answer:: cos, all bittorrent clients use ports other than port 80 to connect and download .. when institutes install firewall .. only port80 is kept open.
So you somehow need to redirect your application's requests in other ports towards port 80 ... and i only know this method to do the same..
If somebody else has a better method .. please post it here

Recently I also got a good link covering the same topic
http://www.slyck.com/forums/viewtopic.php?p=82230

( I've also posted this in another thread called Strange net problem )

EDIT ( 3rd Oct '05 ) : I checked and used a bittorrent client called "BitSpirit". You can specify socks proxy in it. That way you dont need SockCap. Simply specify socks proxy as 127.0.0.1:1080 in BitSpirit Preferences and use HTTP-Tunnel. Very easy to use and very fast (as compared to other clients)
BitSpirit Homepage: http://www.lanspirit.net/


Other Applications
Yes, its not simply Kazaa or Bittorrent but tunnelling softwares can be used to connect lots of other applications like
Yahoo Messenger <===
Evil Lyrics plugin for Winamp
absolutely any application which supports Socks Proxy

Other Tunneling Softwares
Instead of HTTP Tunnel, you can try
Hopster :: Link :: Good Software but download speed limit of 2kbps. Buy more Bandwidth if you want
Your Freedom :: Link :: I havent tried it. But my friends say its good.

Now, If there is something to add.
Please suggest

EDIT: There is a new release of HTTP-Tunnel on July 10th which has superior Bittorrent and P2P support

Quote:
HTTP-Tunnel v3.3.1700 released!

This release features RC4 encryption, completely rewritten HTTP proxy code, superior BitTorrent and other P2P performance, and many other changes.

Download Link
Sign In or Register to comment.