Version 1 (modified by nusenu, 7 months ago) (diff)

move from main TorRelayGuide


  1. Install the tor package:
    pkg install tor

or for alpha releases:

pkg install tor-devel
  1. Put the configuration file /usr/local/etc/tor/torrc in place.
    #change the nickname "myNiceRelay" to a name that you like
    Nickname myNiceRelay
    ORPort 9001
    ExitRelay 0
    SocksPort 0
    # Change the email address bellow and be aware that it will be published
    ContactInfo tor-operator@your-emailaddress-domain
    Log notice syslog
  2. Start the tor daemon and make sure it starts at boot:
    sysrc tor_enable=YES
    service tor start
  3. Ensure that the random_id sysctl setting is enabled:
    echo "net.inet.ip.random_id=1" >> /etc/sysctl.conf
    sysctl net.inet.ip.random_id=1


To get package updates faster after their release it is best to replace "quarterly" with "latest" in /etc/pkg/FreeBSD.conf.