Ok guys, I am back with my daily ‘durty’ trick. Today we are going to download torrents inside a LAN where access to outside world is only through an HTTP proxy (most common scenario).
My next post is going to be about how to optimize your torrents downloads. So this post seemed logical as we moved form SSH to torrents. In our previous posts, we created a normal forward tunnel and a reverse tunnel and used them to unblock websites and to create a listening port inside LAN. This post revolves around dynamic tunnel. (A socks PROXY)
Trivia : Did you know Opera has an in-built torrent client.
Torrents is my preferred means of downloads. Torrents are a best helpful means for small websites to distribute big files. Everyone knows bandwidth costs money. Many open source Distros primarily rely upon torrents to be distributed. I believe its a perfect “Give and Take” model and is the future of distribution. Anyone can setup a tracker service and manage torrent distribution (unlike Gnutella and eDonkey).
Again, our aim is not to actually somehow download torrents at our workplaces. This would be illegal at most places. All we are discussing here is again power of SSH. Everything said/done here is for knowledge purpose.
OK. Lets download some torrents. Again, this post assumes that you have already set up your infrastructure from my previous post. This means, your are listening well on port 443. Please remember that this is our port of choice as we are doing all communication over HTTP proxy. Its a simple TIT for TAT solution. 😉
OK, this one is pretty simple. All you have to do is, add one more tunnel to your existing session putty session. Create this tunnel as follows:
Source port: 23456 (Any, Your favorite number?)
Type = Dynamic. ( Note that last two times we created Local and Remote tunnels )
Save session and open connection. We have just created a dynamic Socks proxy at port 23456.
Now open your preferred torrent client. I normally use
- Azureus(Anywhere with lot of RAM,Overall best)
- Deluge(Gnome, CPU issues)
- Ktorrent(KDE)
- uTorrent (Anywhere, Best client for less RAM).
Now open your client options and browse to connections settings and specify a socks proxy to be used. Make sure, you specify to use socks proxy even for peer 2 peer communication if such setting is there.
Done!! 🙂 Grab the torrent file and load it in. Give that grim smile 8) and enjoy.
Important for half download speeds: Make sure that you keep torrent upload rate as low as possible while doing this, because whatever is being downloaded at home is finally being uploaded to your office connection. For e.g. if your bandwidth is 256kbps upstream. And you are uploading torrents at 15KBps, you can only download torrents at 15KBps at office. Simple maths. Also keeping very low upload speeds would also deteriorate download speeds. So for e.g., keep upload speed at 5KBps, and you will easily get 25KBps for download at office on a 256kpbs bandwidth.
You are all welcome to posts your comments/questions on SSH series of post (3 of them). Also let me know any future topics of discussions.
October 27, 2007 at 2:29 pm
[…] Next : Download torrents in a LAN behind proxy. […]
October 29, 2007 at 4:37 am
dude, write some non-technical articles for your non-hackerz frenz. 🙂
October 29, 2007 at 3:06 pm
Hi Friend, I am stuck with the similar problem. I could not understand your solution since its too technical for me. Can you explain in a lucid manner.
October 29, 2007 at 3:20 pm
@ Sachin
This solution involves, tunnelling all your traffic from an off-site PC(say your home PC). First you SSH into your home PC and then tunnel all your traffic through it. So first requirement is a home PC with a public IP.
It looks like you are on a reliance mobile connection. If you get a public IP, I dont see you facing any problems downloading torrents without any *fix*.
November 14, 2007 at 4:24 am
if i download torrents using the tunnelling method,will it effect the download limit of my internet connection.
November 14, 2007 at 4:33 am
Yes, You would be doing double the traffic. All traffic is downloaded @ your home connection and then uploaded to your office connection over SSH.
December 5, 2007 at 11:27 am
ur last para : Important for half download speeds: is a beamer
its contradicting.. what are u suggesting ? and how does keeping very less upload speed at office improve downloads speed of torrent
September 27, 2014 at 9:21 am
r u deepshikha mehra ?
December 6, 2007 at 9:56 am
This is because, whatever you are downloading at office is first being downloaded and then uploaded to you.
So if you upload at high speed from office, that eats into your download speed because whatever you upload is being downloaded at home.
So keep your upload speed from office @ 5Kb/s. That’s the optimal figure I use.
March 4, 2008 at 8:46 pm
what if the ssh is closed in the LAN?
plz give soln…….
also how to find username and password….
March 4, 2008 at 8:52 pm
You mean to say port 22 is blocked ? I am sure 443 wudn’t be ? You can run your ssh server at home on ports which are open for you .. 🙂
June 26, 2008 at 4:27 pm
well…leaving my pc running 12 hours is not so cheap…nice solution but not applicable whether you do not have internet at home.
July 16, 2008 at 7:41 am
I’ve been trying to use utorrent from my company’s network. It seems port forwarding does not take place. We use a http proxy for connecting to the net. Is there a way I can use utorrent? Your post is good but I can’t find a way to make things work.
July 24, 2008 at 5:15 pm
GET TORRENT PHP SCRIPT: http://torrent.cicakman2.com
August 19, 2008 at 11:44 am
Then is there a way to force my programs to use the workplace proxy within the LAN? The proxy is the only way to the internet.
September 24, 2008 at 2:34 pm
my putty session create a error
can u plz guide me from first step to last for using torrent on lan
January 1, 2009 at 3:13 pm
bro… you know a lot and hence jumping off more steps in between, and everything is bouncing here….
can i really download torrents behind proxy, and please give me the steps… i am dyin…..
mahmud
January 9, 2009 at 5:22 am
i m not able to download from torrent web site…someone told me that in college campus u cant use torrent becoz of low speed…but some students are still downloading from torrent..i thnk they r using proxy or some other way to increase their net speed…they r tellin anyone….can u people help me…..
January 12, 2009 at 11:57 am
the dydns client or dyndns udater for windows is not able to resolve hostnames although i hv an account on dyndns..
also….
for the torrents u said to use openssh on the home server…
i m in a univ behind an http proxy….how do i crt an ssh server and use the utorrent client on the same xp machine ?
March 4, 2009 at 10:16 pm
rTorrent pwns uTorrent in terms of resources. Mostly because rTorrent is command-line based. I use rTorrent for all my torrenting needs, it works great, its so much faster and SSH is implemented too. Also it runs on multi platforms(Linux, windows, OS X)!
March 23, 2009 at 1:14 pm
i am using LAN connection and cant download torrent files PLZ someone help me
April 21, 2009 at 3:47 pm
I have managed to get utorrent and vuze, cryptload seemed to work for a while then it stopped decoding the files, How can i setup this connection over a LAN? I want to download Torrents, what settings should i enter?
May 14, 2009 at 12:51 am
so, do i need another pc to download torrents through proxy? yes/no
July 10, 2009 at 6:02 pm
know Kx if 1 hve control over on his lan router it wll b none other than lan admin ! n thats wat my problem is !!
July 24, 2009 at 8:13 am
Hi, found this site with a slightly less technical post (erm, just ‘slightly’): http://torrentfreak.com/bittorrent-over-ssh-071014/
August 4, 2009 at 12:30 am
thanks
this method is worked
i am used the DNS plus and utorrent and give me very good result.
because the admin use the server Mikrotik and prevent the torrent download
August 12, 2009 at 1:29 pm
Hi,
I did port forwarding and installed Azureus and was able to download videos from Vuze HD network.
But when i give torrent file from some other network it shows downloading , i see 0 peers 0 seeds in details and actual download doesnt progress.
March 12, 2010 at 5:22 pm
i just had same prblm with utorrent
the exe or other format downloads while torrent not…
June 15, 2011 at 7:32 pm
O PEERS and 0 peers u cant download it must be 1 or more then 1 peer and seeds
September 27, 2014 at 9:15 am
jamla
October 8, 2009 at 7:27 am
i m not able to download from torrent web site…someone told me that in college campus u cant use torrent becoz of low speed…but some students are still downloading from torrent..i thnk they r using proxy or some other way to increase their net speed…they r tellin anyone….can u people help me…..
October 10, 2009 at 10:02 pm
if you can’t help us ,just go fuck yourself
November 29, 2009 at 11:47 am
hey friend I want to use torrent in my college campus but stuck behind the firewall .Can you please tell how to configure putty with utorrent.I will be highly obliged if you tell me about a free proxy server too.
March 12, 2010 at 5:19 pm
plzzzzzzzzz kx frnd
help me out here
i want to download torrent using reliance connection (rcomwap) which iam using wit ultrasurf plz help out if theres any way possible 4 dwnld.
June 21, 2010 at 4:28 am
sir actually ….my brother is configuring the wiifii in the home ,and he restricts my access to torrent downloading through utorrent …..can u say some tricks to unblock this torrent downloader ……plz
August 27, 2010 at 2:43 am
hey dude, i’m staying in a place with many servers, and I donot have an SSH connection to our proxy server, but I have connection to another server
September 5, 2010 at 9:43 am
i want torrent proxy number port random port and every thing for downloading
October 3, 2010 at 11:54 am
i ve been getting a big blank black screen and it says that network error: connection timed out!!!!
help me sove this problem
October 6, 2010 at 6:25 pm
Need Your Help ….
My university has blocked all P2P programs including Vuze. I tried filling in the proxies in ” tools\options\connection\proxy options “… With the help of this I can download videos in the Vuze HD Network but not any other torrent files.
Plz i need help, have searched many forums to get around this proxy .. but of no use. Plz HELP.
January 15, 2011 at 8:57 am
how i use torrent on proxy node int
May 6, 2011 at 1:10 pm
Hey,
On campus I must have taken all their bandwidth and the IT manager put up a proxy.
I have looked everywhere and the only answers I found were how to download the torrent file. This I can do, we can still access TPB or other sites and download the torrent files easily.
But when the actual dlding is supposed to start (limewire, transmission, utorrent, vuze, all the same) it just won’t because the proxy blocks p2p transfers I guess.
Any easy way to hack this? Any tips on how to dl a movie or an album in direct download?
May 24, 2011 at 5:19 pm
plz help me out yaar…….
i cnt find any ssh in my bit tornt……
August 10, 2011 at 7:53 am
i am using ktorrent on ubuntu 11.04 using proxy can tell how to download from it. Ktorrent is showing me number of seeders and leechers
October 3, 2011 at 1:28 pm
Hi, Brother
i am doing soft engg . in my university every non educational site is blocked . but somehow i got an ip ma my teacher and unblocked them.. but still i can’t run torrent (any) on my laptop in my uni lab.. i have implemented many of method, tricks to unblock it , but all in vain yet.. do you an idea?
January 16, 2012 at 6:15 am
i need help downloading torrent frm utorrent in my office thrz a proxy server 😦 i cant download any torrent files through utorrent or any client..i hav tried configuring the clients but my proxy dosent allows me 😦 HELPPPPPPPPPP!!!!!!!!!!
July 11, 2012 at 3:03 am
Is there a way to download torrents via an outside proxy? I’m using Utorrent if that matters.
November 1, 2012 at 12:03 am
Dude the method u told requires a ssh server capable of forwarding the traffic.Is there any free shell server you know that forward all traffic.I tried shellmix.com but it is not working.
Any idea?
August 29, 2014 at 7:56 am
Truth is, Fb is now publicly owned…..by a really small number of extremely aggressive funding our bodies which is able to insist on extremely aggressive revenue targets.
September 27, 2014 at 9:18 am
hmmmm
July 12, 2015 at 11:43 am
Hey there! Your site is running slowly , this kind of went on just
like a minute or so to successfully load up, I have no idea whether it’s just me or maybe your webpage then again google and yahoo performed fine for me.
On the other hand thank you for writing great articles.
I do believe it really has been extremely helpful user who
click here. I personally should state that you have done superb job with this
plus hope to check out further brilliant things through you.
To get more information from articles you write-up, I’ve saved the site.
January 25, 2016 at 5:40 am
Hey man ,can you give me proxy like 199.167.133.154 byepass proxy for university Wi-Fi but its download is limited to 50 MB only if have you have another then tell me immediately. You will be thanked for this.
June 23, 2016 at 3:38 pm
[…] Proxy hacks – III. Downloading Torrents inside LAN, behind … – Oct 27, 2007 · Proxy hacks – III. Downloading Torrents inside LAN, … Downloading Torrents inside LAN, behind proxy. … Proxy hacks – III. Downloading Torrents inside … […]