[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [community/master] Improve formatting of instructions.
commit fb0c82d4fd39886c3966a7b62b4c1f269bc99469
Author: Philipp Winter <phw@xxxxxxxxx>
Date: Wed Aug 7 12:25:01 2019 -0700
Improve formatting of instructions.
---
.../technical-setup/bridge/docker/contents.lr | 30 ++++++++++------------
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/content/relay-operations/technical-setup/bridge/docker/contents.lr b/content/relay-operations/technical-setup/bridge/docker/contents.lr
index 979c0e5..b68770c 100644
--- a/content/relay-operations/technical-setup/bridge/docker/contents.lr
+++ b/content/relay-operations/technical-setup/bridge/docker/contents.lr
@@ -10,22 +10,20 @@ We are maintaining a docker container that allows you to quickly set up an obfs4
Now, it's time to run the container. You have two options:
- * We maintain a script that automatically determines a free OR and obfs4 port for you. The script only requires your email address as argument:
-
-```
- $ curl https://dip.torproject.org/anti-censorship/docker-obfs4-bridge/raw/master/deploy-container.sh > deploy-container.sh
- $ bash deploy-container.sh address@xxxxxxxxx
-```
-
- * If you would rather provide your own ports, run the following command and replace XXX with your OR port, YYY with your obfs4 port, and address@xxxxxxxxx with your email address. Don't forget the semicolon after the environment variables.
-
-```
- OR_PORT=XXX PT_PORT=YYY EMAIL=address@xxxxxxxxx; \
- docker run -d \
- -e "OR_PORT=$OR_PORT" -e "PT_PORT=$PT_PORT" -e "EMAIL=$EMAIL" \
- -p "$OR_PORT":"$OR_PORT" -p "$PT_PORT":"$PT_PORT" \
- phwinter/obfs4-bridge:0.1
-```
+1. We maintain a script that automatically determines a free OR and obfs4 port for you. The script only requires your email address as argument:
+ ```
+ $ curl https://dip.torproject.org/torproject/anti-censorship/docker-obfs4-bridge/raw/master/deploy-container.sh > deploy-container.sh
+ $ bash deploy-container.sh address@xxxxxxxxx
+ ```
+2. If you would rather provide your own ports, run the following command and replace `XXX` with your OR port, `YYY` with your obfs4 port, and `address@xxxxxxxxxxx` with your email address. Don't forget the semicolon after the environment variables.
+
+ ```
+ OR_PORT=XXX PT_PORT=YYY EMAIL=address@xxxxxxxxxxx; \
+ docker run -d \
+ -e "OR_PORT=$OR_PORT" -e "PT_PORT=$PT_PORT" -e "EMAIL=$EMAIL" \
+ -p "$OR_PORT":"$OR_PORT" -p "$PT_PORT":"$PT_PORT" \
+ phwinter/obfs4-bridge:0.1
+ ```
That's it! Your container should now be bootstrapping your new obfs4 Tor bridge.
---
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits