Ticket #4905: update-01262012.diff

File update-01262012.diff, 2.2 KB (added by marlowe, 5 years ago)

Resolves issues brought in #tor-dev on 01/26/2012

  • projects/en/obfsproxy-instructions.wml

     
    2828
    2929    <p>
    3030    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>
    3232    </p>
    3333
    3434    <p>
     
    6060
    6161    <p>
    6262    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    ExitPolicy *.*<br>
     71    ClientTransportPlugin obfs2 exec /usr/local/bin/obfsproxy --managed
    6472    </p>
    6573
     74    <p>Replace <em>192.0.2.34</em> with the bridge supporting obfsproxy you
     75    wish to use and <em>34545</em> with the port number the bridge uses.
     76    </p>
     77
    6678    <p>
    6779    Launch Tor using this configuration file. You can do this by using
    6880    your favorite init script, or by pointing the Tor binary to the
     
    88100
    89101    <p>
    90102    Set up your Tor configuration file:<br><br>
    91     <img src="$(IMGROOT)/obfs-torrc_bridge.png" alt="bridge torrc"></a>
     103    User tor<br>
     104    PIDFile /usr/local/var/run/tor/tor.pid<br>
     105    ORPort 4367<br>
     106    Log notice file /usr/local/var/log/tor/tor.log<br>
     107    DataDirectory /usr/local/var/lib/tor/data<br>
     108    UseBridges 1<br>
     109    Bridge obfs2 192.0.2.34:34545<br>
     110    ExitPolicy *.*<br>
     111    ServerTransportPlugin obfs2 exec /usr/local/bin/obfsproxy --managed
    92112    </p>
    93113
    94114    <p>
     
    113133    <p>
    114134    <img src="$(IMGROOT)/sidenav-arrow.png">
    115135    <strong>Congratulations!</strong> Tell your clients to point their
    116     obfsproxy to your IP address and to port <em>34545</em>.
     136    obfsproxy to your IP address and port number.
    117137    </p>
    118138
    119139    <br>