wiki:TorRelayGuide/DragonFlyBSD

DragonFlyBSD

  1. Bootstrap pkg:
# cd /usr
# make pkg-bootstrap
# pkg-static install pkg
# rehash
  1. 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.

  1. 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
  1. Enable/Start the service:
# echo "tor_enable=YES" >> /etc/rc.conf
# echo "tor_setuid=YES" >> /etc/rc.conf
# service tor start
Last modified 4 months ago Last modified on Aug 3, 2018, 12:38:50 PM