Ubuntu Linux 12.04 LTS – World Wide VPN’s

In Windows you can get free VPN software like Anchor Free, SoftFlux and Expat Shield.
But what about Linux?

US – http://www.anchorfree.com/
US – http://www.spotflux.com/
UK – http://www.expatshield.com/

So how can we create a VPN that gives us the country IP we want?

So things we will install

  • Vidalia – Vidalia offers a graphical user interface to start and stop Tor, view its status at a glance, and monitor its bandwidth usage.
  • Tor – Tor is a connection-based low-latency anonymous communication system which addresses many flaws in the original onion routing design.
  • Privoxy – Privoxy is a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk.

Let’s install them on terminal (Ctrl + Alt + t)

sudo apt-add-repository ppa:ubun-tor/ppa
sudo apt-get update
sudo apt-get install tor privoxy vidalia

If you want a UK ip everytime you start Tor open Vidalia and go to “View the network”. Here you will see a bunch of relays, sort them by country and copy the nicknames of wich you want to look like the ones below.

ExitNodes TorLand2, TorLand1, TorLand5, st0nerhenge, c00psTOR, EnfluraneNode, microlah, YoureOnCCTV, hamtor
StrictExitNodes 1

Go to terminal

sudo gedit /etc/tor/torrc

Insert the lines you created save and exit.

Start tor

tor &

Go to Network GUI -> Proxy

Socks Server:
Port: 9050

If you want to logoff the VPN set proxy to none and stop tor

sudo killall tor

PBLS4Lin v1.0 – Peerblock for Linux and Transmission

Um script para linux que permite utilizar as listas do Peerblock.
Estas listas podem ser utilizadas no Transmission.


#This script creates the same lists as peerblock http://www.peerblock.com/, it outputs a file that you
#can use on Transmission under Edit -> Preferences -> Privacy -> Blocklist. In the first time copy the
#http link and use it. All lists are from http://www.iblocklist.com
#This script was created by Cesário Garcia Mil-Homens - http://www.cesariogarcia.com just for the fun.
#PBLS4Lin - v1.0


#Insert here the dir where is your Dropbox/Google Drive/etc public folders or you local server with apache
#Using Dropbox
#Using localhost

#Insert here your own temporary download folder, do not use /tmp


echo "Peerblock Lists - Automatic Uptades for Transmission"
echo "My destination folder is $destination_folder and my temporary download folder is $temp is this correct? (y/n)"

function download() {
	sudo cd $temp
	sudo wget -O - "http://list.iblocklist.com/?list=bt_ads&fileformat=p2p&archiveformat=gz" > bt_ads.txt.gz
	sudo wget -O - "http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz" > bt_level1.txt.gz
	sudo wget -O - "http://list.iblocklist.com/?list=bt_spyware&fileformat=p2p&archiveformat=gz" > bt_spyware.txt.gz
	sudo gunzip *.gz

function combine() {
	sudo cat bt_ads.txt bt_level1.txt bt_spyware.txt > peerblock.txt
	sudo rm bt_ads.txt
	sudo rm bt_level1.txt
	sudo rm bt_spyware.txt

function upload() {
	sudo mv -f peerblock.txt $destination_folder

read op

case $op in
	y) download; combine; upload;;
	*) exit;;