Running a bridge with obfsproxy on debian 7 is quite easy. Install minimum System (really bare system).

Add the tor repositories.

aptitude install tor obfsproxy

Then configure your torrc.

There are two ways of configureing obfsproxy, one direct way via the calls from torrc and one “hack” as to edit /var/lib/tor/state To manipulate the port in the state, shutdown your tor client, and edit it. You can replace the port from the TransportProxy line to fit your needs.

If you want to run obfsproxy on a privilegded port (<1024) then you need to either start obfsproxy with root rights (tor does the same thing and drops priviliges later) or give it the appropriate capabilities/rights. Root permissions are clearly no way to go. To grant obfsproxy the rights for privileged ports do:

setcap 'cap_net_bind_service=+ep' /path/to/obfsproxy

setup/obfsproxy.txt · Last modified: 2013/01/07 10:08 by fe80:d25a:381c:8b76:1d5c:b204:c14c:62be