Tor on OpenBSD 7.3

Table of contents

Summary Summary

Tor (opens in a new tab) πŸ§… provides highly private access πŸ‘― to the Web ✨

This post shows how to install it and run on OpenBSD (opens in a new tab).

Environment Environment

Tutorial Tutorial

Install Install

The easiest way is to use pkg_add (opens in a new tab):

console
$ doas pkg_add tor

The result was:

quirks-6.121 signed on 2023-06-27T13:21:34Z
tor-0.4.7.13:libevent-2.1.12p0: ok
tor-0.4.7.13: ok
The following new rcscripts were installed: /etc/rc.d/tor
See rcctl(8) for details.

Configure (Optional) Configure (Optional)

The configuration file is placed as /etc/tor/torrc.

Run the daemon Run the daemon

Activate it first:

$ doas rcctl enable tor

Then run:

$ doas rcctl start tor

It printed out like:

tor(ok)

Check it works Check it works

Run to test:

console
$ curl \
      -x socks5h://127.0.0.1:9050 \
      -s https://check.torproject.org/api/ip

You will see like:

json
{"IsTor":true,"IP":"xxx.xxx.xxx.xxx"}

Yes, it’s working fine and we are in the Tor network and relays :)

Conclusion Conclusion

There are just few steps necessary to join Tor on OpenBSD 🌻 πŸ§… 🐑

More on: Run web, mail and federated services

OBSD Solutions

OBSD Solutions: OpenBSD consulting and support by Scqr, Reflerd Inc. (opens in a new tab)

Comments and feedback are welcome.