wiki:TorRelayGuide/OpenBSD

Version 9 (modified by egypcio, 14 months ago) (diff)

9001 -> 443

OpenBSD

  1. Setup pkg_add:
# echo "https://ftp.openbsd.org/pub/OpenBSD" > /etc/installurl
  1. Install the tor package:
# pkg_add tor

NOTE: if you want to install a newer version of Tor on OpenBSD, you have 2 different options:

  • use M:Tier's binary packages;
  • use OpenBSD's official ports tree (it's recommended to use cvs to checkout/follow its current branch).
  1. Edit /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
DataDir     /var/tor
Log notice  syslog
  1. Enable/Start the service:
# rcctl enable tor
# rcctl set tor flags "-f /etc/tor/torrc -User _tor"
# rcctl start tor