wiki:TorRelayGuide/NetBSD

NetBSD

  1. Setup pkg_add:
# echo "PKG_PATH=http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/$(uname -m)/$(uname -r)/All" > /etc/pkg_install.conf
  1. Install the tor package:
# pkg_add tor

NOTE: if you want to install a newer version of Tor on NetBSD, you might need to use pkgsrc. please refer to its users guide, checking out the current branch.

  1. Edit /usr/pkg/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:
# ln -sf /usr/pkg/share/examples/rc.d/tor /etc/rc.d/tor
# echo "tor=YES" >> /etc/rc.conf
# /etc/rc.d/tor start
Last modified 4 months ago Last modified on Aug 3, 2018, 9:33:38 AM