Motivations:
So why would we want to hide our torrent traffic?? Well there are a few reasons.
- Nosey ISPs
- Nosey School Networks
- Nosey Bosses
You can see where this trend is going. So basically we are going to be able to circumvent these problems.
For people who don't quite understand, 99% of all torrent traffic is illegal (which I do not condone), and many universities, companies, and ISPs have built in methods to detect torrent traffic on their network.
The How-To:
Alright, so we will be using a:
- Torrent client (I will write this speciffically for uTorrent)
- SSH client (PuTTY)
- SSH server
This should work for any torrent client, and any SSH client, and any SSH server. But I'll be writing this with uTorrent and PuTTy in mind. First we have to aquire a SSH server account. If you want to use this a lot, I would urge you to purchase an account on a server. Mine is $5 a month (as low as $4.41 if you commit for more time), and has worked perfectly for the past few months. http://b2shells.com/ Basically sign up for the Personal Shell. When you're adding it to you're shopping cart, it will look like this
At the bottom when you where it asks for your Username and Password, that will be your username and password to access the Shell account. Make sure that you write that information down somewhere because we'll have to use that later.
You don't necessarily have to get a payed account, instead you can look here and get an account on one of these. If you choose to do this, some of them have a quota, which is how much data you're allowed to transfer over their network. Usually a very small amount. Remember that a full CD ranges from 80-120MB usually.
Once you have your account set up, we need to download PuTTY. If you're running Windows, I would suggest downloading the installer, but it really doesn't make a difference. Once you have it on your computer, run putty. Its just one simple...amazing... window.
In the "Host Name" type in the host name, you will be given this if you register for an account somewhere. Also, be sure to put in the correct "Port" number, sometimes this is different, but it is usually 22. Then, below, in the "Saved Sessions" type in a name, this is so we can save our session to re-use later. I usually just type "Torrent" or something like that. Dont click the Save button yet though... if you did, its okay. Next, on the left navigation bar, navigate to Connection > SSH > Tunnels. In the "Source Port" you choose a number. I have used 6633 Always, IDK why, but it has worked. Now there are limitations to the number you can choose, but if you don't want to use 6633 just try to pick something in the 5000 or 6000 range for the sake of making sure it works. Remember this number, because we'll have to use it later. Dont type anything into "Destination" and on the radio buttons below Destination, choose "Dynamic" and "Auto" Then click the Add button. In the Box "D6633" should have popped up. Now go back to the Session tab in the left navigation bar. Now we want to click the Save button. Now you see the session you just saved in the list below. You can double click on it to open up your session automatically. Or, you can click on your session, click Load, and then click the Open button at the bottom.
As a note, you can actually make using this a bit easier if you want to. In PuTTY, load your session, and in the Host Name box, in front of the web address, type in your username and then @. So, if your username is "qwerty", and you are connecting to "shell.sshost.com" then you would have this in the Host Name box "qwerty@shell.sshost.com". Then, instead of having to type in your username every time, you'll just have to type your password.
Okay, now our shell opens up, it looks like a command prompt window, and you will be asked to log in, so type in your username (if you didn't do the step above) and your password. Then you will see that you have logged in correctly. To test, type in "pwd" that should print out what folder you are currently in. Another not about loggin in... when typing your password, it may look like no characters are showing up. This is supposed to happen. Just carefully type in your password, and hit enter.
If you want to, play around here and use the storage that you get. Make some folders "mkdir FOLDER_NAME". Navigate through folders "cd FOLDER_NAME". "cd .." gets you to go up one directory. "vim" brings up the text editor... it is confusing and i will not cover it here. Maybe in a future post if people want to learn about its amazingness.
Now we are done setting up SSH, and just have to prepare the torrent client. Install uTorrent, and open it. Make sure not torrents are running now, as they will be using the regular network until we change the settings, which could get you in trouble.
In uTorrent, click Options > Preferences. In the left navigation bar, click on "Connection" in the "Proxy Server" box, for "Type" choose "Socks5", for "Proxy" type in "localhost" ... "127.0.0.1" will also work. its your choice. For "Port" we need to put the port we chose to use in PuTTY... I choose 6633 so I would type in 6633. Pretty simple. Uncheck "Authenticaton", and check "Resolve hostnames through proxy" and "User proxy server for peer-to-peer connections". Now hit "Apply" and then "OK".
Now download a torrent and open it inside uTorrent and see if it downloads. If it does, then you have set up correctly... if not, you're out of luck.
Finishing Remarks:
Hopefully this was an easy to follow guide, and everything is up and running correctly. Sometimes if you let your SSH session run for a very long time it will dissconnect because of a software error or something. In this case, just click "OK", then on the PuTTY window, right click, and select "Restart Session" and it will try to reconnect you. Usually you'll have to log in again.
If you have any questions or want more pictures, lemme know in the comments.

No comments:
Post a Comment