Tor on OpenBSD 7.3
- Network services
- Published
- 1 min read
- @nabbisen
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
- OS: OpenBSD 7.3 (opens in a new tab)
- Daemon and client: Tor 0.4
Tutorial Tutorial
Install Install
The easiest way is to use pkg_add (opens in a new tab):
$ 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:
$ curl \
-x socks5h://127.0.0.1:9050 \
-s https://check.torproject.org/api/ip
You will see like:
{"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
-
OpenBSD develops and maintains their own web server called βhttpdβ under ISC license.
-
Lemmy is one of Fediverse implementations, which focuses on link aggregators.
-
This post is a part of Lemmy 0.16.7 on OpenBSD 7.2 about Lemmy.
OBSD Solutions
OBSD Solutions: OpenBSD consulting and support by Scqr, Reflerd Inc. (opens in a new tab)
Comments and feedback are welcome.