Guide for connecting to Freenode on irssi via Tor on Xubuntu 12.04

I hope these instructions make your life easier and your anonymity stronger!

-Register a handle on Freenode with NickServ. Unfortunately, this must be setup before accessing freenode over Tor. If you’re very paranoid, you can always complete your NickServ registration from a public library or something similar. If you don’t know how to use NickServ, see this link: http://freenode.net/faq.shtml#userregistration

-Next, install Tor.

:~$ sudo apt-get install tor

(or compile from source on their website at: https://www.torproject.org/download/download.html.en)

-Edit your Tor configuration at /etc/tor/torrc and add the following line:

## Map Freenode's Tor address to 10.40.40.40
mapaddress 10.40.40.40 p4fsi4ockecnea7l.onion

The address 10.40.40.40 can be adjusted to any valid IP address you want.

-Restart Tor to apply changes

:~$ /etc/init.d/tor restart

-Install irssi and all the necessary cryptographic packages

:~$ sudo apt-get install irssi irssi-scripts libcrypt-openssl-bignum-perl libcrypt-dh-perl libmath-bigint-gmp-perl libmath-bigint-perl libcrypt-blowfish-perl

-Move the irssi scripts into your home directory’s .irssi folder and ensure the SASL plugin beings at irssi startup

:~$ cp /usr/share/irssi/scripts/*.pl ~/.irssi/scripts
:~$ cd ~/.irssi/scripts
:~$ mkdir autorun
:~$ cp cap_sasl.pl autorun

-Run irssi through torify

:~$ torify irssi

-Load the SASL plugin and configure it for your chosen NickServ registration

/script load cap_sasl.pl
/sasl set freenode   DH-BLOWFISH
/connect -network freenode 10.40.40.40

At this point, you should be connected to Freenode IRC over Tor!

Leave a Reply

Your email address will not be published. Required fields are marked *