mirror of
https://github.com/torproject/community.git
synced 2025-03-05 00:17:04 +00:00
Remove Fedora Instructions
Fair enough, that all makes sense. I removed all of the Fedora stuff but kept the parts relevant to RHEL / CentOS.
This commit is contained in:
parent
f6ad457771
commit
4d3ac1c968
@ -21,12 +21,6 @@ yum install git golang tor policycoreutils-python-utils
|
||||
zypper install tor go git
|
||||
```
|
||||
|
||||
* Fedora:
|
||||
|
||||
```
|
||||
dnf install git golang tor policycoreutils-python-utils
|
||||
```
|
||||
|
||||
### 2. Build obfs4proxy and move it into place.
|
||||
|
||||
Heavily outdated versions of git can make `go get` fail, so try upgrading to a more recent git version if you're running into this problem.
|
||||
@ -48,14 +42,6 @@ go get gitlab.com/yawning/obfs4.git/obfs4proxy
|
||||
sudo cp $GOPATH/bin/obfs4proxy /usr/local/bin/
|
||||
```
|
||||
|
||||
* Fedora:
|
||||
|
||||
```
|
||||
export GOPATH=`mktemp -d`
|
||||
go get gitlab.com/yawning/obfs4.git/obfs4proxy
|
||||
sudo cp $GOPATH/bin/obfs4proxy /usr/bin/
|
||||
```
|
||||
|
||||
### 3. Edit your Tor config file, usually located at `/etc/tor/torrc` and replace its content with:
|
||||
|
||||
* CentOS / RHEL / OpenSUSE:
|
||||
@ -85,36 +71,6 @@ ExtORPort auto
|
||||
# there are problems with your bridge. This is optional but encouraged.
|
||||
ContactInfo <address@email.com>
|
||||
|
||||
# Pick a nickname that you like for your bridge. This is optional.
|
||||
Nickname PickANickname
|
||||
```
|
||||
* Fedora:
|
||||
|
||||
```
|
||||
RunAsDaemon 1
|
||||
BridgeRelay 1
|
||||
|
||||
# Replace "TODO" with a Tor port of your choice. This port must be externally
|
||||
# reachable. Avoid port 9001 because it's commonly associated with Tor and
|
||||
# censors may be scanning the Internet for this port.
|
||||
ORPort TODO
|
||||
|
||||
ServerTransportPlugin obfs4 exec /usr/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
|
||||
# Tor and censors may be scanning the Internet for this port.
|
||||
ServerTransportListenAddr obfs4 0.0.0.0:TODO
|
||||
|
||||
# Local communication port between Tor and obfs4. Always set this to "auto".
|
||||
# "Ext" means "extended", not "external". Don't try to set a specific port
|
||||
# number, nor listen on 0.0.0.0.
|
||||
ExtORPort auto
|
||||
|
||||
# Replace "<address@email.com>" with your email address so we can contact you if
|
||||
# there are problems with your bridge. This is optional but encouraged.
|
||||
ContactInfo <address@email.com>
|
||||
|
||||
# Pick a nickname that you like for your bridge. This is optional.
|
||||
Nickname PickANickname
|
||||
```
|
||||
@ -129,7 +85,7 @@ Nickname PickANickname
|
||||
|
||||
`systemctl restart tor`
|
||||
|
||||
* Fedora / RHEL / CentOS:
|
||||
* RHEL / CentOS:
|
||||
|
||||
```
|
||||
sudo semanage port -a -t tor_port_t -p tcp [desired ORPort number set earlier]
|
||||
|
Loading…
x
Reference in New Issue
Block a user