[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #26619 [Community/Relays]: Include in Tor Relay Guide doc instructions on how to deploy relay in OpenBSD



#26619: Include in Tor Relay Guide doc instructions on how to deploy relay in
OpenBSD
----------------------------------+---------------------
     Reporter:  ggus              |      Owner:  Nusenu
         Type:  enhancement       |     Status:  new
     Priority:  Medium            |  Milestone:
    Component:  Community/Relays  |    Version:
     Severity:  Normal            |   Keywords:  openbsd
Actual Points:                    |  Parent ID:
       Points:                    |   Reviewer:
      Sponsor:                    |
----------------------------------+---------------------
 Tor Relay Guide doesn't provide any information about how to setup relay
 in OpenBSD. Is there any reason for this?

 Here's the step by step:

 **OpenBSD**

 1. Add these rules in pf file /etc/pf.conf

 {{{
 pass in log on egress proto tcp from any to any port { 9001 }
 pass out log on egress proto tcp from any to any port { 9001 }
 }}}

 2. Enable the new rules

 {{{
 pfctl -f /etc/pf.conf
 }}}

 3. Configure the repository

 {{{
 echo https://ftp.openbsd.org/pub/OpenBSD >> /etc/installurl
 }}}

 4. Install the tor package

 {{{
 pkg_add tor
 }}}

 5. 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
 }}}

 6. Start the tor daemon and make sure it starts at boot:

 {{{
 rcctl enable tor
 rcctl start tor
 }}}

 More information: https://torbsd.org/2017/02/27/running-openbsd-current-
 for-tor-relays.html

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26619>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs