[HOW-TO] set up tor+i2p+anon-proxy+moblock+tormail

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
rustybalz1234

[HOW-TO] set up tor+i2p+anon-proxy+moblock+tormail

Post by rustybalz1234 »

:wink: hello this is my first [HOW TO] so please dont princess :wink:

p.s setting up anon-proxy is not recommended for update reasons as Mint 15 bug system wide proxy but ubuntu users are welcome to
https://bugs.launchpad.net/linuxmint/+bug/1180382
do not add line form step 5:forward / 127.0.0.1:4001 to privoxy config if u donot use anon-proxy

but I will inclued how to install tsocks for some work-arounds

STEP:1 installing tor and the vidalia gui for tor (this is for socks connections)
install tor and the vidalia gui

Code: Select all

sudo apt-get install tor
next wee need the tor gui called vidalia so do

Code: Select all

sudo apt-get install vidalia
WARNING!! (after u have installed tor and vidalia succesfully REBOOT (i dont know y but i have to ever time to make my setup work)

STEP:2 installing i2p (this is for i2p sites and i2psnark for torrents witch ill explain later)

Adding the PPA via the command line and installing I2P

Open a terminal and enter:

Code: Select all

sudo apt-add-repository ppa:i2p-maintainers/i2p
This command will add the PPA to /etc/apt/sources.list.d and fetch the gpg key that the repository has been signed with. The GPG key ensures that the packages have not been tampered with since being built.
Notify your package manager of the new PPA by entering

Code: Select all

sudo apt-get update
This command will retrieve the latest list of software from each repository that is enabled on your system, including the I2P PPA that was added with the earlier command.
You are now ready to install I2P!

Code: Select all

sudo apt-get install i2p
to start i2p do

Code: Select all

i2prouter start
to stop i2p service do

Code: Select all

i2prouter stop
STEP:3 installing anon-proxy

Code: Select all

sudo apt-get install anon-proxy
next make sure anon-proxy is running do

Code: Select all

sudo /etc/init.d/anon-proxy restart
it should report evrthing OK

STEP:4next installing moblock a ip blocking program for deb

part:1 getting ppa for sources

Code: Select all

sudo add-repository ppa:jre-phoenix/ppa
it will ask for you to press enter

part:2 refresh the sources do..

Code: Select all

sudo apt-get update
part:3 installing moblock

Code: Select all

sudo apt-get install moblock
after installing moblock REBOOT

after reboot start moblock go to Menu>internet> pglgui (click it)

STEP:5 installing privoxy and configuring it

install privoxy do

Code: Select all

sudo apt-get install privoxy
after this make sure its running do

Code: Select all

sudo /etc/init.d/privoxy restart
it should report everything OK just like anon-proxy did

Configuring privoxy do

Code: Select all

sudo gedit /etc/privoxy/config
once opened scroll down to the bottom of the page and press enter (lines with # are not used)

now past this at the bottom of privoxy config

Code: Select all

forward / 127.0.0.1:4001
forward .i2p 127.0.0.1:4444
forward-socks5 .onion 127.0.0.1:9050 .
forward-socks5 / 127.0.0.1:9050 .
the last cuople lines of privoxy should look like this as followed

#
#
#
#
#
forward / 127.0.0.1:4001
forward .i2p 127.0.0.1:4444
forward-socks5 .onion 127.0.0.1:9050 .
forward-socks5 / 127.0.0.1:9050 .


the dots at the end of ports 9050 is important

save this then do

Code: Select all

sudo /etc/init.d/privoxy restart
should report everything OK


STEP:5 configuring firefox with foxy proxy for tor and i2p connections

using the latest firefox go to firefox.com and get the add-on called foxyproxy standard not the lite

after it installs and restarts

Left-click the word “FoxyProxy” in your status bar to bring up the FoxyProxy configuration dialog, which should look something like this:

http://blog.gnu-designs.com/images/foxyproxy-main-window.png

Click on “Add New Proxy” on the left side. I called mine “i2p Proxy” (how imaginative!), and set it up like this:

http://blog.gnu-designs.com/images/i2p-general-tab.png

next click on the URL:Patterns tab it should look something like this:

http://blog.gnu-designs.com/images/foxyproxy-url-patterns.png

next click add new pattern

add this in the url pattern box

Code: Select all

*.i2p/*
finished i2p
STEP:6 setting up tor with foxy proxy

do everything the same as step 5 but when it askes for the port number use this port 9050 then enable socks5 (donot use socks4 as it is prown to DNS leaks)

and when u add the new url pattern use this

Code: Select all

*.onion/*
done

STEP:7 install tsocks (usfull tunneling application for programs that donot support proxy settings I use this with pithos a pandora radio program

Code: Select all

sudo apt-get install tsocks
lets configure tsocks do

Code: Select all

sudo gedit /etc/tsocks.conf
the proxy setting at the bottom of the config should look like this

Code: Select all

server = 127.0.0.1
# Server type defaults to 4 so we need to specify it as 5 for this one
server_type = 5
# The port defaults to 1080 but I've stated it here for clarity 
server_port = 8118
or

server = 127.0.0.1
# Server type defaults to 4 so we need to specify it as 5 for this one
server_type = 5
# The port defaults to 1080 but I've stated it here for clarity
server_port = 8118

save this the n u can do from terminal
command: example minitube,chrom,pithos,steam what ever else u like

Code: Select all

tsocks pithos

STEP:8 using tormail with mozilla thunderbird

first install Enigmail do

Code: Select all

sudo apt-get install enigmail
assuming u have thunderbird installed in firefox go to http://jhiwjjlqpyawmpjx.onion/ this is tormail on the deep web make an account there

next open mozilla thunderbird go to Edit>Preferences next go to the Advanced tab click on Config Editor and after that click (Ill be careful, I promise)

search for extensions.enigmail.respectHttpProxy click on it and make the value TRUE

next point thunderbird to TOR

Edit>Preferences>Advanced Tab>Network & Settings> Under Connections click on Settings
you should be at configuring the proxy settings cling Mannuel proxy settings in all oth the ip boxes put 127.0.0.1 then for the HTTP and SSL proxys use port 8118 and for the SOCKS proxy use port 9050 and click socks 5 (do not use socks 4 its prone to DNS leaks)

after this restart mozilla thunderbird then do the mail account setup use the name and password u made on tomail.org
example: blahblahblah@tormail.org
pass:xxxxxxx

it will ask u to use a server type I use POP3

done!!!!!!!!!


I think thats all if you whant some ip's to block check out
http://www.iblocklist.com/lists.php

I also recommend you check out http://donttrack.us/ and highley recommend startpage.com as ur home page instead of google

Please donate bitcoins to :1LcMiCX5KGeCjTrMFVuabQhAmWZuWvqa3Q:
thank you and good day.....
santzi

Re: [HOW-TO] set up tor+i2p+anon-proxy+moblock+tormail

Post by santzi »

Hi,

Very nice instruction.
I have installed Linux Mint 14 Debian based.

I followed this instruction, but I'm stuck on foxy proxy add-on settings process.
Foxy Proxy version is 4.2.1

It asking "Host or IP address" to "Proxy Details" tab, when I'm trying to add i2p or Onion URLs to "URL Patterns" tab. (Step 5 and Step 6)
I don't know which host or IP address I should use.
Could you add "Proxy Details" picture also if needed?

Thank you!
Post Reply

Return to “Tutorials”