Apply conversion script to all *.md files. authored by Alexander Hansen Færøy's avatar Alexander Hansen Færøy
== DragonFlyBSD == ## DragonFlyBSD
1. Bootstrap `pkg`: 1. Bootstrap `pkg`:
{{{ ```
# cd /usr # cd /usr
# make pkg-bootstrap # make pkg-bootstrap
# pkg-static install pkg # pkg-static install pkg
# rehash # rehash
}}} ```
2. Install the `tor` package: 2. Install the `tor` package:
{{{ ```
# pkg install tor # pkg install tor
}}} ```
''**NOTE:** if you want to install a newer version of Tor on DragonFlyBSD, you might need to use `DPorts`. please refer to its [https://www.dragonflybsd.org/docs/howtos/HowToDPorts/#index5h1 wiki page] and follow the official steps. ''**NOTE:** if you want to install a newer version of Tor on DragonFlyBSD, you might need to use `DPorts`. please refer to its [wiki page](https://www.dragonflybsd.org/docs/howtos/HowToDPorts/#index5h1) and follow the official steps.
3. Edit `/usr/local/etc/tor/torrc`: 3. Edit `/usr/local/etc/tor/torrc`:
{{{ ```
Nickname myBSDRelay # CHANGE THE NICKNAME Nickname myBSDRelay # CHANGE THE NICKNAME
ContactInfo your@email # WRITE YOUR EMAIL ADDRESS AND BE AWARE THAT IT WILL BE PUBLISHED ContactInfo your@email # WRITE YOUR EMAIL ADDRESS AND BE AWARE THAT IT WILL BE PUBLISHED
ORPort 443 # TRY USING A DIFFERENT PORT IF 443 DOES NOT WORK FOR YOU ORPort 443 # TRY USING A DIFFERENT PORT IF 443 DOES NOT WORK FOR YOU
ExitRelay 0 ExitRelay 0
SocksPort 0 SocksPort 0
Log notice syslog Log notice syslog
}}} ```
4. Enable/Start the service: 4. Enable/Start the service:
{{{ ```
# echo "tor_enable=YES" >> /etc/rc.conf # echo "tor_enable=YES" >> /etc/rc.conf
# echo "tor_setuid=YES" >> /etc/rc.conf # echo "tor_setuid=YES" >> /etc/rc.conf
# service tor start # service tor start
}}} ```
\ No newline at end of file \ No newline at end of file