8e51500aaddb697b9462c335c742d6859f188f8b
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

1) ## translation metadata
2) # Revision: $Revision$
3) # Translation-Priority: 4-optional
4) 
5) #include "head.wmi" TITLE="obfsproxy: Installation instructions" CHARSET="UTF-8"
6) 
7) <div id="content" class="clearfix">
8)   <div id="breadcrumbs">
9)     <a href="<page index>">Home &raquo; </a>
10)     <a href="<page projects/projects>">Projects &raquo; </a>
11)     <a href="<page projects/obfsproxy>">obfsproxy</a>
12)   </div>
13)   <div id="maincol">
14) 
15)     <!-- PUT CONTENT AFTER THIS TAG -->
16) 
Roger Dingledine start to streamline the obf...

Roger Dingledine authored 12 years ago

17)     <h1 id="instructions">Obfsproxy Instructions</h1>
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

18) 
Roger Dingledine put the diagram at the top;...

Roger Dingledine authored 12 years ago

19)     <img src="$(IMGROOT)/obfsproxy_diagram.png" alt="client torrc"></a>
20) 
Roger Dingledine start to streamline the obf...

Roger Dingledine authored 12 years ago

21)     <h3>Step 1: Install dependencies, obfsproxy, and Tor</h3>
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

22)     <br>
23) 
24)     <p>
Roger Dingledine make it clearer you need pk...

Roger Dingledine authored 12 years ago

25)     You will need a C compiler (<em>gcc</em>), the <em>autoconf</em>
26)     and <em>autotools</em> build system, the <em>git</em> revision
27)     control system, <em>pkg-config</em> and <em>libtool</em>,
28)     <em>libevent-2</em> and its headers, and the development headers of
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

29)     <em>OpenSSL</em>.
30)      </p>
31) 
32)     <p>
Roger Dingledine explain further dependencies

Roger Dingledine authored 12 years ago

33)     On Debian testing or Ubuntu oneiric, you could do: <br>
34)     <tt># apt-get install autoconf autotools-dev gcc git pkg-config libtool libevent-2.0-5 libevent-dev libevent-openssl-2.0-5 libssl-dev</tt>
35)     </p>
36) 
Roger Dingledine link to build-from-source i...

Roger Dingledine authored 12 years ago

37)     <p>
38)     If you're on a more stable Linux, you can either <a
Roger Dingledine explain further dependencies

Roger Dingledine authored 12 years ago

39)     href="https://trac.torproject.org/projects/tor/ticket/5009#comment:9">try
Roger Dingledine link to build-from-source i...

Roger Dingledine authored 12 years ago

40)     our experimental backport libevent2 debs</a> or <a
41)     href="https://trac.torproject.org/projects/tor/ticket/5009#comment:17">build
42)     libevent2 from source</a>.
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

43)     </p>
44) 
45)     <p>
46)     Clone obfsproxy from its git repository:<br>
Roger Dingledine start to streamline the obf...

Roger Dingledine authored 12 years ago

47)     <tt>$ git clone https://git.torproject.org/obfsproxy.git</tt> <br>
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

48) 
49)     The above command should create and populate a directory named
Roger Dingledine the whitespace in the tt ta...

Roger Dingledine authored 12 years ago

50)     'obfsproxy' in your current directory.
51)     </p>
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

52) 
53)     <p>
54)     Compile obfsproxy: <br>
55)     <tt>$ cd obfsproxy</tt> <br>
56)     <tt>$ ./autogen.sh && ./configure && make</tt> <br>
57)     </p>
58) 
59)     <p>
Roger Dingledine explain further dependencies

Roger Dingledine authored 12 years ago

60)     Optionally, <strong>as root</strong> install obfsproxy in your
61)     system: <br>
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

62)     <tt># make install</tt>
63)     </p>
64) 
Roger Dingledine explain further dependencies

Roger Dingledine authored 12 years ago

65)     <p>
66)     If you prefer not to install obfsproxy as root, you can instead
67)     just modify the Transport lines in your torrc file (explained below)
68)     to point to your obfsproxy binary.
69)     </p>
70) 
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

71)     <p>
Roger Dingledine start to streamline the obf...

Roger Dingledine authored 12 years ago

72)     You will need Tor 0.2.3.11-alpha or later.
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

73)     </p>
74) 
Roger Dingledine start to streamline the obf...

Roger Dingledine authored 12 years ago

75)     <hr>
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

76) 
Roger Dingledine start to streamline the obf...

Roger Dingledine authored 12 years ago

77)     <h3 id="client_instructions">Step 2a: If you're the client...</h3>
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

78)     <br>
79) 
80)     <p>
Roger Dingledine make it clearer that you ne...

Roger Dingledine authored 12 years ago

81)     First, you need to learn the address of a bridge that supports
82)     obfsproxy. If you don't know any, try asking a friend to set one
83)     up for you. Then the appropriate lines to your <a href="<page
84)     docs/faq>#torrc">tor configuration file</a>:
Sebastian Hahn Update obfsproxy instructio...

Sebastian Hahn authored 12 years ago

85)     </p>
86) 
Sebastian Hahn obfsproxy instructions upda...

Sebastian Hahn authored 12 years ago

87)     <p>
Roger Dingledine the whitespace in the tt ta...

Roger Dingledine authored 12 years ago

88)     <tt>UseBridges 1</tt> <br>
89)     <tt>Bridge obfs2 128.31.0.34:1051</tt> <br>
90)     <tt>ClientTransportPlugin obfs2 exec /usr/local/bin/obfsproxy --managed</tt>
Sebastian Hahn obfsproxy instructions upda...

Sebastian Hahn authored 12 years ago

91)     </p>
92) 
93)     <p>
Roger Dingledine make it clearer that you ne...

Roger Dingledine authored 12 years ago

94)     Don't forget to replace <em>128.31.0.34:1051</em> with the IP address
Roger Dingledine put the diagram at the top;...

Roger Dingledine authored 12 years ago

95)     and port that the bridge's obfsproxy is listening on.
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

96)     </p>
97) 
98)     <p> <br>
99)     <img src="$(IMGROOT)/sidenav-arrow.png">
100)     <strong>Congratulations!</strong> Your traffic should now be
101)     obfuscated by obfsproxy. You are done! You can now start using Tor.
102)     </p>
103) 
104)     <br> <br> <br> <br>
105) 
106)     <hr>
107) 
108)     <br> <br> <br> <br>
109) 
Roger Dingledine start to streamline the obf...

Roger Dingledine authored 12 years ago

110)     <h3 id="bridge_instructions">Step 2b: If you're the bridge...</h3>
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

111)     <br>
112) 
113)     <p>
Roger Dingledine point people at the 'runnin...

Roger Dingledine authored 12 years ago

114)     Configure your Tor to <a href="<page docs/bridges>#RunningABridge">be
115)     a bridge</a> (e.g. by setting "ORPort 9001" and "BridgeRelay 1"). Then
116)     add this new line to your <a href="<page docs/faq>#torrc">tor
Roger Dingledine put the diagram at the top;...

Roger Dingledine authored 12 years ago

117)     configuration file</a>:
Sebastian Hahn obfsproxy instructions upda...

Sebastian Hahn authored 12 years ago

118)     </p>
119) 
120)     <p>
Roger Dingledine the whitespace in the tt ta...

Roger Dingledine authored 12 years ago

121)     <tt>ServerTransportPlugin obfs2 exec /usr/local/bin/obfsproxy --managed</tt>
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

122)     </p>
123) 
124)     <p>
Roger Dingledine start to streamline the obf...

Roger Dingledine authored 12 years ago

125)     Launch Tor using this configuration file. You can do this by using
126)     your favorite init script, or by pointing the Tor binary to the
127)     torrc file:
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

128)     <p>
129) 
130)     <p>
Andrew Lewman i thought wml was supposed...

Andrew Lewman authored 12 years ago

131)     <img src="$(IMGROOT)/obfs-spawn_tor_bridge.png" alt="spawn tor" height="117" width="879"></a>
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

132)     </p>
133) 
134)     <p>
Sebastian Hahn obfsproxy instructions upda...

Sebastian Hahn authored 12 years ago

135)     Next, find the TCP port opened by obfsproxy. Look in your log file
Roger Dingledine start to streamline the obf...

Roger Dingledine authored 12 years ago

136)     for a line similar to this one: <br>
Roger Dingledine add asn's first draft of ob...

Roger Dingledine authored 12 years ago

137)     <img src="$(IMGROOT)/obfs-log_checking.png" alt="bridge torrc" width="437" height="14"></a>
138)     <br>
139)     The last number, in this case <em>34545</em>, is the TCP port
140)     number that your clients should point their obfsproxy to.
141)     </p>
142) 
143)     <p>
144)     <img src="$(IMGROOT)/sidenav-arrow.png">
145)     <strong>Congratulations!</strong> Tell your clients to point their
Roger Dingledine start to streamline the obf...

Roger Dingledine authored 12 years ago

146)     obfsproxy to your IP address and to port <em>34545</em>.