commit 7bc76d9880b05f5fafeebb2e35ba4705e28ead67 Author: gus gus@torproject.org Date: Fri Apr 10 21:36:18 2020 -0400
Change dragonflybsd to look like debian step by step --- .../technical-setup/guard/dragonflybsd/contents.lr | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/content/relay-operations/technical-setup/guard/dragonflybsd/contents.lr b/content/relay-operations/technical-setup/guard/dragonflybsd/contents.lr index 8218178..d2934fe 100644 --- a/content/relay-operations/technical-setup/guard/dragonflybsd/contents.lr +++ b/content/relay-operations/technical-setup/guard/dragonflybsd/contents.lr @@ -46,9 +46,9 @@ pkg update -f pkg upgrade -y -f ```
-# 2. Install `tor` DragonflyBSD's Package +# 2. Package Installation
-Here we can choose to install the latest stable version, like: +Install the `tor` package:
``` pkg install tor @@ -61,20 +61,24 @@ pkg install tor pkg install tor-devel ```
-# 3. Configure `/usr/local/etc/tor/torrc` +# 3. Configuration File + +Put the configuration file `/usr/local/etc/tor/torrc` in place:
-This is a very simple version of the `torrc` configuration file in order to run a Middle/Guard relay on the Tor network:
``` -Nickname myBSDRelay # Change your relay's nickname to something you like -ContactInfo your@email # Please write your email address and be aware that it will be published -ORPort 443 # You might want to use/try a different port, should you want to +#change the nickname "myBSDrelay" to a name that you like +Nickname myBSDRelay +# You might want to use/try a different port, should you want to +ORPort 443 ExitRelay 0 SocksPort 0 Log notice syslog +# Change the email address below and be aware that it will be published +ContactInfo tor-operator@your-emailaddress-domain ```
-# 4. Start `tor`: +# 4. Start the service
Here we set `tor` to start at boot time and use the setuid feature, in order to bind to lower ports like 443 (the daemon itself will still run as a regular non-privileged user).