Make your own home Server for Torrent Downloads

This post is inspired form an original written by Xam on Simple Home File Server (Based On Ubuntu) . Here we can use this server for torrent downloads using transmission torrent client in Ubuntu.

This is the orginal post showing how to make an ubuntu home server.

http://www.howtoforge.com/ubuntu-home-fileserver

You can follow this steps for installing Ubuntu Server, The author is using Ubuntu 7.10 Gutsy Server for installation, but you can use any latest version of Ubuntu Server for making a Home Server. I prefer Ubuntu 10.04 Lucid Server LTS, because you will get a Long Term Support of 5 Years from Canonical Enterprise, and most of the package are avilable in there own repositories.

Here is the link for downloading the latest version of ubuntu ISO image

http://www.ubuntu.com/server/get-ubuntu/download

Burn this ISO image to a Blank CD using any CD burning Softwares,

http://infrarecorder.org/

This is a freely available CD burning Software

Before downloading Ubuntu Server please confirm your system architecture, whether its a 32 bit CPU or 64 bit.

Please read Technical resources and White Papers for more details on Ubuntu Server

http://www.ubuntu.com/server/technical-resources

System Requirement:- This is the wiki page for system requirement

http://en.wikipedia.org/wiki/Ubuntu_(operating_system)#System_requirements

How ever 300 Mhz 128 Mb ram is the minimal system requirement, You can use your old PC for installing this server.

Attention:- Installation procedure wipe out all your Hard Disk data, so please take back up of your important data before proceeding.

https://help.ubuntu.com/10.04/serverguide/C/index.html

This is the server guide for ubuntu server 10.04, you can use this for future reference.

http://www.howtoforge.com/perfect-server-ubuntu8.04-lts

This is an installation procedure for ubuntu 8.04 version, this guide can also be used for installing 10.04 version.

Ok, after installation is finished reboot your system, here you will get a command line interface. This is our server ;-).

Login to your server with ur username and password

Check your Interface configuration of your server

ifconfig

This will list your interface that are connected to the network and its IP configurations.

You can find your ip from here, it may look like

eth0      Link encap:Ethernet  HWaddr 00:24:d6:3b:06:e4
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::224:d6ff:fe3b:6e4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:191730 errors:0 dropped:0 overruns:0 frame:0
          TX packets:130273 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:247309811 (247.3 MB)  TX bytes:13339629 (13.3 MB)

Here eth0 is your network interface and 192.168.1.4 is your server ip assigned by dhcp for that interface.

Next step is to update your system for new patches and security releases,

sudo apt-get update

This will update your system repositories

sudo apt-get upgrade

This will take some time to finish because it dowloads the latest updates and patches from the repositories,

Ok now reboot your system

reboot

Login again with your username and password. Next step is to make your server ready for torrent downloads

sudo apt-get install transmission-common transmission-cli transmission-daemon

This will install transmission client to you system having a command line interface.

Note: Please dont install transmission itself ( sudo apt-get install transmission) to your sytem , coz it may try to download gtk to you system and may cause errors.

Now its the time to run transmission daemon on ur server,

sudo /etc/init.d/transmission-daemon restart

Next step is to configure the web interface of transmission client, so that u can access the torrent client from any machines connected in the network. For this there is a file named settings.json in /etc/transmission-daemon, you have to edit this file for enabling web access

sudo -s

nano /etc/transmission-daemon/settings.json

scroll down to find the line “rpc-whitelist”: “127.0.0.1”,

edit it to “rpc-whitelist”: “*”,

Where*” helps to access you transmission from any outside IP. Additionally you can set a username and password for controlled access.

“rpc-username”: “transmission”,

Edit this line to

“rpc-username”: “your-username”,

For a new username.

“rpc-password”: “{cd10129f6dced22a166c2430c3ewe22bb1739dcde9IdMWi262”,

Edit this line to set a password manually.

“rpc-password”: “my-secure-passwd”,

Ok you are done, save the file by pressing ctrl X, it will ask for a confirmation press y and then press return, your file has been saved. Now restart your transmission client again using the command.

sudo /etc/init.d/transmission-daemon restart

Now its time to access your torrent server from other clients, open your we browser on your client machine and type.

http://your-server-ip:9091

eg: http://192.168.1.4:9091

It will ask for username and password, put ur transmission username and password there click OK. Yap ur torrent server is ready , you can browse and upload torrents on you local pc, now ur server starts downloading, you can set the speed limits and change the download folder by clicking the preference button. Come on let’s starts downloading.

how to access blocked site in ubuntu

http://www.0rkut.c0m

yes still its blocked……………
so i tried googling …………..
no way. no new softwares. no h0tsp0t shieId porting for ubuntu
what we do??
yes. Gotcha aaaaaa
SSH
SSh is a secure protocol for data exchange.
That means the data through the ssh tunnel is encrypted. So our ISP can’t identify what we are sending throug this tunnel. This are the information i got from google.. So how to associate this for accessing a blocked site??…
I read the manual for SSh
man ssh
ok there’s some thing.
option -N and -D
Yess this two options are enough, We can use this options to connect to any remote server and that server connect to the world.
this is the idea
Next step is to find a provider [a remote server], an SSh terminal provider,
again google.. It took me more than a day to find a good provider.
theowned.net
this is our provider. request for a shell account . its very simple. And i registered, after a day i got the mail regarding my account details and the password.
again terminal
ssh your-account@theowned.net
you should prompt for the certificate verification, type yes and return, it will ask for the password. type your weird password there and return.. yes its weird..
so first we have to change the password
type passwd press return, it asks for old password then new password and confirm it.
exit from the server and login again with new password.. yes its working. exit again. Done now we got our SSh server. Next step is to route our internet traffic through this server. For that the command is
ssh -ND 3333 your-account@theowned.net
type your password there and press return, were 3333 is the port that we are using to listen as we specified earlier in the manual
now your computer is connected to the server using a secure channel.
Nxt Step is to configure your browser for routing your traffic throunh this channel. I’m using firefox so here is the routing,
take firefox->edit->preference->network->settings->manual proxy configuration.
now type 127.0.0.1 in the SOCKS Host and select the port to 3333 , use socks version5, click ok
close the preference box, tpye wvvw.0rkut.c0m in your address bar.
yes its working after 3 months i got it back .. my orkut.
NB: 1) when you close your terminal u will loss ur connection internet in ur browser
2) the browsing speed is low when you connect your browser through proxy
so use firefox for browsing blocked sites and use google chrome for normal browsing . Mr. Firefox have its own porxy conf:, so it will not affect ur other connections.
if there is a problem please make comments here.

Blog at WordPress.com.

Up ↑