Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- You will need version 2.0 of libevent-dev, so you'll need
- to use Ubuntu oneiric or Debian experimental when testing this.
- You will need to install the following packages: git-core make
- autoconf gcc pkg-config libevent-dev libtool libssl-dev
- 1. Setting up obfsproxy
- $ git clone git://git.torproject.org/obfsproxy.git
- $ cd obfsproxy
- $ /autogen.sh
- $ /configure && make
- If git.torproject.org is blocked, try cloning it from
- git://gitorious.org/obfsproxy/obfsproxy.git instead.
- 2. Setting up Tor
- Open /etc/apt/sources.list and add the following two lines:
- deb http://deb.torproject.org/torproject.org <DISTRIBUTION> main
- deb http://deb.torproject.org/torproject.org
- experimental-<DISTRIBUTION> main
- Where <DISTRIBUTION> is whatever you're using, such as oneiric. Then
- run the following set of commands:
- $ gpg --keyserver keys.gnupg.net --recv 886DDD89
- $ gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
- $ sudo aptitude update
- $ sudo aptitude install tor tor-geoipdb
- If deb.torproject.org is blocked, try using deb-master.torproject.org,
- mirror.netcologne.de or tor.mirror.youam.de instead. You don't need to
- have Tor running straight away, but it will start by default when you
- install it. Run /etc/init.d/tor stop and move on to the next step.
- 3. Configure Tor
- Configure Tor to use bridges and talk to the obfsproxy server I set up:
- $ sudo mv /etc/tor/torrc /etc/tor/torrc.orig
- $ sudo vim /etc/tor/torrc
- And put the following lines in the file:
- SocksPort 5000
- UseBridges 1
- Bridge obfs2 174.129.145.197:1051
- ClientTransportPlugin obfs2 socks5 127.0.0.1:1050
- 4. Start obfsproxy
- It's important that you launch obfsproxy before you start Tor. Go into
- the obfsproxy directory and run:
- $ ./obfsproxy --log-min-severity=debug
- --log-file=obfsproxy-debug.log obfs2 socks 127.0.0.1:1050
- 5. Start Tor
- Run the following commands to start Tor and check the log to see that
- everything's ok:
- $ sudo /etc/init.d/tor start
- $ sudo tail -f /var/log/tor/log
- 6. Test it (need bridge running with obfsproy support)
- To test it, launch Firefox (no Torbutton needed, just a plain Firefox)
- and set it up to use a Socks server on 127.0.0.1:5000. Now browse the
- web. Win?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement