Changes between Version 2 and Version 3 of TorRelayGuide/OpenBSD


Ignore:
Timestamp:
Jul 10, 2018, 9:37:25 PM (2 months ago)
Author:
ggus
Comment:

added openbsd instructions

Legend:

Unmodified
Added
Removed
Modified
  • TorRelayGuide/OpenBSD

    v2 v3  
    11== OpenBSD
    22
    3 1. Add these rules in pf file /etc/pf.conf
     31. Install the `tor` package
    44
    55{{{
    6 pass in log on egress proto tcp from any to any port { 9001 }
    7 pass out log on egress proto tcp from any to any port { 9001 }
     6pkg_add tor
    87}}}
    98
    10 2. Enable the new rules
     92. Put the configuration file `/usr/local/etc/tor/torrc` in place.
    1110
    1211{{{
    13 pfctl -f /etc/pf.conf
     12#change the nickname "myNiceRelay" to a name that you like
     13Nickname myNiceRelay
     14ORPort 9001
     15ExitRelay 0
     16SocksPort 0
     17# Change the email address bellow and be aware that it will be published
     18ContactInfo tor-operator@your-emailaddress-domain
     19Log notice syslog
    1420}}}
    1521
    16 3. Configure the repository
     223. Start the tor daemon and make sure it starts at boot:
    1723
    1824{{{
    19 echo https://ftp.openbsd.org/pub/OpenBSD >> /etc/installurl
     25rcctl enable tor
     26rcctl start tor
    2027}}}
    21 
    22 
    23 More information: https://torbsd.org/2017/02/27/running-openbsd-current-for-tor-relays.html