git.schokokeks.org
Repositories
Help
Report an Issue
tor-webwml.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
6a9fb8215
Branches
Tags
bridges
docs-debian
jobs
master
press-clips
tor-webwml.git
projects
en
obfsproxy-instructions.wml
Update obfsproxy instructions per armadev and asn's comments
Sebastian Hahn
commited
6a9fb8215
at 2012-01-27 20:19:40
obfsproxy-instructions.wml
Blame
History
Raw
## translation metadata # Revision: $Revision$ # Translation-Priority: 4-optional #include "head.wmi" TITLE="obfsproxy: Installation instructions" CHARSET="UTF-8" <div id="content" class="clearfix"> <div id="breadcrumbs"> <a href="<page index>">Home » </a> <a href="<page projects/projects>">Projects » </a> <a href="<page projects/obfsproxy>">obfsproxy</a> </div> <div id="maincol"> <!-- PUT CONTENT AFTER THIS TAG --> <h1 id="instructions">Obfsproxy Instructions</h1> <h3>Step 1: Install dependencies, obfsproxy, and Tor</h3> <br> <p> You will need a C compiler (<em>gcc</em>), the <em>Autotools</em> build system, the <em>git</em> revision control system, <em>libevent-2</em> and the development headers of <em>OpenSSL</em>. </p> <p> In a Linux system using the APT package manager you could do: <br> <tt># apt-get install autotools-dev gcc git libevent-2.0-5 libevent-openssl-2.0-5 libssl-dev</tt> </p> <p> Clone obfsproxy from its git repository:<br> <tt>$ git clone https://git.torproject.org/obfsproxy.git</tt> <br> The above command should create and populate a directory named 'obfsproxy' in your current directory. </p> <p> Compile obfsproxy: <br> <tt>$ cd obfsproxy</tt> <br> <tt>$ ./autogen.sh && ./configure && make</tt> <br> </p> <p> And then <strong>as root</strong> install obfsproxy in your system: <br> <tt># make install</tt> </p> <p> You will need Tor 0.2.3.11-alpha or later. </p> <hr> <h3 id="client_instructions">Step 2a: If you're the client...</h3> <br> <p> Set up your Tor configuration file:<br><br> User tor<br> PIDFile /usr/local/var/run/tor/tor.pid<br> SocksPort 1999 # what port to open for local application connections<br> Log notice file /usr/local/var/log/tor/tor.log<br> DataDirectory /usr/local/var/lib/tor/data<br> UseBridges 1<br> Bridge obfs2 192.0.2.34:34545<br> ClientTransportPlugin obfs2 exec /usr/local/bin/obfsproxy --managed </p> <p>Replace <em>192.0.2.34</em> with the bridge supporting obfsproxy you wish to use and <em>34545</em> with the port number the bridge uses. </p> <p> Launch Tor using this configuration file. You can do this by using your favorite init script, or by pointing the Tor binary to the torrc file: </p> <img src="$(IMGROOT)/obfs-spawn_tor_client.png" alt="spawn tor" height="101" width="882"> <p> <br> <img src="$(IMGROOT)/sidenav-arrow.png"> <strong>Congratulations!</strong> Your traffic should now be obfuscated by obfsproxy. You are done! You can now start using Tor. </p> <br> <br> <br> <br> <hr> <br> <br> <br> <br> <h3 id="bridge_instructions">Step 2b: If you're the bridge...</h3> <br> <p> Set up your Tor configuration file:<br><br> User tor<br> PIDFile /usr/local/var/run/tor/tor.pid<br> ORPort 4367<br> Log notice file /usr/local/var/log/tor/tor.log<br> DataDirectory /usr/local/var/lib/tor/data<br> BridgeRelay 1<br> ServerTransportPlugin obfs2 exec /usr/local/bin/obfsproxy --managed </p> <p> Launch Tor using this configuration file. You can do this by using your favorite init script, or by pointing the Tor binary to the torrc file: <p> <p> <img src="$(IMGROOT)/obfs-spawn_tor_bridge.png" alt="spawn tor" height="101" width="882"></a> </p> <p> Next, Find the TCP port opened by obfsproxy. Look in your log file for a line similar to this one: <br> <img src="$(IMGROOT)/obfs-log_checking.png" alt="bridge torrc" width="437" height="14"></a> <br> The last number, in this case <em>34545</em>, is the TCP port number that your clients should point their obfsproxy to. </p> <p> <img src="$(IMGROOT)/sidenav-arrow.png"> <strong>Congratulations!</strong> Tell your clients to point their obfsproxy to your IP address and to port <em>34545</em>. </p> <br> </div> <!-- END MAINCOL --> <div id = "sidecol"> #include "side.wmi" #include "info.wmi" </div> <!-- END SIDECOL --> </div> <!-- END CONTENT --> #include <foot.wmi>