Forums: Get P2p Working Behind A Firewall - Forums

Jump to content

Page 1 of 1

Get P2p Working Behind A Firewall

#1 User is offline   pita 

  • Corporal
  • Icon
  • Group: Members
  • Posts: 153
  • Joined: 15-September 03

Posted 02 August 2005 - 05:17 PM

i didn't write this and i didn't test it but hey i think its a interesting reading...

Quote

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 do NOT take any responsibility for the consequences that might arise from illegitimate use of this information



Get Kazaa Working Behind a Firewall
----------------------------------------------

1. HTTP - Tunnel -> http://www.http-tunn...nnel/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. Smile

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 !! Exclamation

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.per...nload/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-tunn...nnel/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 Smile

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 Smile

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 :: http://www.hopster.com/ :: Good Software but download speed limit of 2kbps. Buy more Bandwidth if you want Wink

* Your Freedom :: http://www.your-free...pl/en/home.html :: 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:
Code:
http://www.http-tunn...unnel_setup.exe

0

#2 User is offline   n.n.p 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 118
  • Joined: 20-June 05

Posted 02 August 2005 - 11:42 PM

All that works but unless you subsicribe to them its not worth it as you'll be lucky to get over 2kb/s with the free version.

Its fine for irc etc but not really for downloading stuff.
0

#3 User is offline   wiNGCom 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 33
  • Joined: 25-September 04

Posted 03 August 2005 - 12:52 AM

If you are behind a m$ proxy server you need an extra python program to handle the NTLM Authorization.

APS098 - 'NTLM Authorization Proxy Server' v.0.9.8
0

#4 User is offline   w00zy 

  • Sergeant
  • Icon
  • Group: Members
  • Posts: 246
  • Joined: 03-August 05

Posted 05 August 2005 - 12:09 PM

Without subscribing to them, you won't get happy with this program. Only if you have an own proxyserver, because then you don't need to use their proxies.
I can't uninstall it, there seems to be some kind of "Uninstall Shield".
0

#5 User is offline   plinius 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 70
  • Joined: 05-October 03

Posted 09 August 2005 - 12:38 PM

Hi, I tried it for bittorrent, and this seemed to work indeed (though slow). I tried it allso for mirc, and this didn't worked.
Is it correct that you only have to start HTTP-tunnel (as for bittorrent) ; or do you have to add a profile?
And, is it correct you don't have to change the outgoing port (6667) ? Because that traffic is allso blocked?!
0

#6 User is offline   OscarHS 

  • Private
  • Icon
  • Group: Members
  • Posts: 19
  • Joined: 23-October 03

Posted 28 September 2005 - 04:31 PM

thank you thats a good guide :)
0

#7 User is offline   AgentSmith15 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 129
  • Joined: 25-October 05

Posted 27 October 2005 - 11:31 AM

Well I spotted some bugs with that guide. The Bit Torrent client called Azureus has proxy support, and can proxy the tracker traffic and or peer traffic. Also since Azureus is open source and is built on Java it can run on every OS out there today...

Also you could use SSH to emulate a proxy (a very secure one at that. . .)

I was gonna write some C++, but then I got high
I was gonna skip all that .NET stuff, but then I got high,
Now I'm stuck with non-deterministic finalization, and I know why.
Because I got high, because I got high, because I got high.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users