DragonFlyBSD
- Bootstrap
pkg
:
# cd /usr
# make pkg-bootstrap
# pkg-static install pkg
# rehash
- 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 wiki page and follow the official steps.
- 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
- Enable/Start the service:
# echo "tor_enable=YES" >> /etc/rc.conf
# echo "tor_setuid=YES" >> /etc/rc.conf
# service tor start