# Replace "TODO2" with an obfs4 port of your choice. This port must be
# externally reachable and must be different from the one specified for ORPort.
...
...
@@ -73,7 +61,7 @@ Nickname PickANickname
* Note that both Tor's OR port and its obfs4 port must be reachable. If your bridge is behind a firewall or NAT, make sure to open both ports. You can use [our reachability test](https://bridges.torproject.org/scan/) to see if your obfs4 port is reachable from the Internet.
### 4. Restart tor
### 3. Restart tor
```
sudo semanage port -a -t tor_port_t -p tcp [OR port set earlier, in TODO1]
...
...
@@ -81,7 +69,7 @@ sudo semanage port -a -t tor_port_t -p tcp [obfs4 port set earlier, in TODO2]
systemctl restart tor
```
### 5. Monitor your logs (usually in your syslog)
### 4. Monitor your logs (usually in your syslog)
To confirm your bridge is running with no issues, you should see something like this:
...
...
@@ -95,7 +83,7 @@ To confirm your bridge is running with no issues, you should see something like
[notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor.
```
### 6. Final notes
### 5. Final notes
If you are having trouble setting up your bridge, have a look at [our help section](https://community.torproject.org/relay/getting-help/).
If your bridge is now running, check out the [post-install notes](https://community.torproject.org/relay/setup/bridge/post-install/).