Update obfsproxy instructions per armadev and asn's comments
Sebastian Hahn

Sebastian Hahn commited on 2012-01-27 20:19:40
Zeige 3 geänderte Dateien mit 20 Einfügungen und 3 Löschungen.


Patch contributed by Patrick R McDonald <marlowe@antagonism.org>
... ...
@@ -28,7 +28,7 @@
28 28
 
29 29
     <p>
30 30
     In a Linux system using the APT package manager you could do: <br>
31
-    <tt># apt-get install autotools gcc git libevent-2.0-5 libevent-openssl-2.0-5 libssl-dev</tt>
31
+    <tt># apt-get install autotools-dev gcc git libevent-2.0-5 libevent-openssl-2.0-5 libssl-dev</tt>
32 32
     </p>
33 33
 
34 34
     <p>
... ...
@@ -60,7 +60,18 @@
60 60
 
61 61
     <p>
62 62
     Set up your Tor configuration file:<br><br>
63
-    <img src="$(IMGROOT)/obfs-torrc_client.png" alt="client torrc"></a>
63
+    User tor<br>
64
+    PIDFile /usr/local/var/run/tor/tor.pid<br>
65
+    SocksPort 1999 # what port to open for local application connections<br>
66
+    Log notice file /usr/local/var/log/tor/tor.log<br>
67
+    DataDirectory /usr/local/var/lib/tor/data<br>
68
+    UseBridges 1<br>
69
+    Bridge obfs2 192.0.2.34:34545<br>
70
+    ClientTransportPlugin obfs2 exec /usr/local/bin/obfsproxy --managed
71
+    </p>
72
+
73
+    <p>Replace <em>192.0.2.34</em> with the bridge supporting obfsproxy you
74
+    wish to use and <em>34545</em> with the port number the bridge uses.
64 75
     </p>
65 76
 
66 77
     <p>
... ...
@@ -88,7 +99,13 @@
88 99
 
89 100
     <p>
90 101
     Set up your Tor configuration file:<br><br>
91
-    <img src="$(IMGROOT)/obfs-torrc_bridge.png" alt="bridge torrc"></a>
102
+    User tor<br>
103
+    PIDFile /usr/local/var/run/tor/tor.pid<br>
104
+    ORPort 4367<br>
105
+    Log notice file /usr/local/var/log/tor/tor.log<br>
106
+    DataDirectory /usr/local/var/lib/tor/data<br>
107
+    BridgeRelay 1<br>
108
+    ServerTransportPlugin obfs2 exec /usr/local/bin/obfsproxy --managed
92 109
     </p>
93 110
 
94 111
     <p>
95 112