[tor-commits] [community/develop] Update contents.lr

emmapeel at torproject.org emmapeel at torproject.org
Sat Oct 5 07:39:31 UTC 2019


commit 58c72a4ea76a22481b46f7bc5f98a1b20909fdbb
Author: Christopher King <bunnyapocalypse at protonmail.com>
Date:   Tue Sep 3 16:46:44 2019 +0000

    Update contents.lr
---
 .../relay-operations/technical-setup/bridge/fedora/contents.lr    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/content/relay-operations/technical-setup/bridge/fedora/contents.lr b/content/relay-operations/technical-setup/bridge/fedora/contents.lr
index a1584b0..40ad6a9 100644
--- a/content/relay-operations/technical-setup/bridge/fedora/contents.lr
+++ b/content/relay-operations/technical-setup/bridge/fedora/contents.lr
@@ -17,7 +17,11 @@ dnf install git golang tor policycoreutils-python-utils
 ```
 export GOPATH=`mktemp -d`
 go get gitlab.com/yawning/obfs4.git/obfs4proxy
-sudo cp $GOPATH/bin/obfs4proxy /usr/bin/
+sudo cp $GOPATH/bin/obfs4proxy /usr/local/bin/
+```
+And tell selinux to allow Tor to use obfs4proxy:
+```
+/sbin/restorecon -v /usr/local/bin/obfs4proxy
 ```
 
 ### 3. Edit your Tor config file, usually located at `/etc/tor/torrc` and replace its content with:
@@ -31,7 +35,7 @@ BridgeRelay 1
 # censors may be scanning the Internet for this port.
 ORPort TODO
 
-ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
+ServerTransportPlugin obfs4 exec /usr/local/bin/obfs4proxy
 
 # Replace "TODO" with an obfs4 port of your choice.  This port must be
 # externally reachable.  Avoid port 9001 because it's commonly associated with





More information about the tor-commits mailing list