Raw import from Trac using Trac markup language. authored by Alexander Hansen Færøy's avatar Alexander Hansen Færøy
== DragonFlyBSD ==
1. Bootstrap `pkg`:
{{{
# cd /usr
# make pkg-bootstrap
# pkg-static install pkg
# rehash
}}}
2. Install the `tor` package:
{{{
# 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.
3. Edit `/usr/local/etc/tor/torrc`:
{{{
Nickname myBSDRelay # CHANGE THE NICKNAME
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
ExitRelay 0
SocksPort 0
Log notice syslog
}}}
4. Enable/Start the service:
{{{
# echo "tor_enable=YES" >> /etc/rc.conf
# echo "tor_setuid=YES" >> /etc/rc.conf
# service tor start
}}}
\ No newline at end of file