How to setup `tor` in bazzite/uBlue?
Hi all i'm a fresh user of
bazzite
and uBlue
in general, but not Linux...
How do we install and configuretor
in this distro?
(I got my own working config in my other setup (debian based) that i would like to use ofcourse.)Solution:Jump to solution
Doing it again after a fresh install, so marking the steps for later and reference for others reading this later:
1. Main instructions at: https://community.torproject.org/relay/setup/bridge/fedora/
2. Add the
Tor.repo
file (Step 2), followed by:
```sh...Tor Project | Fedora
Defend yourself against tracking and surveillance. Circumvent censorship. | Fedora
32 Replies
Tor Project | Fedora
Defend yourself against tracking and surveillance. Circumvent censorship. | Fedora
follow this, but instead of
dnf install tor
rpm-ostree install tor
+ rebootThanks i will have a read, but im not configuring it as a relay, i just use
obfs4
bridges...kk, one sec
Aha
/etc/yum.repos.d
is the equivalent of /etc/apt/sources.list.d/
🤔
Good to know thx 👍
Ok i have pasted the repo config text in kate and saved the file as /etc/yum.repos.d/tor.repo
, do we need a apt update
equivalent in Fedora ?nope
Does this need to be run as
root
?
Oh and PS, how do we check what files are used inside the package we install with rpm-ostree?Looks ok so far?
Installed
obfs4proxy
also...Will try to continue with step #5 later, because i need to copy over my settings in my config from other setup for that...
Aha cant even view the
/etc/tor/torrc
file because the directory isn't there, most likely because i first need to reboot for it to be there right...ahh well
brb going to reboot, just to see what happens/how far it is..you can look with rpm2cpio
Can you give an example command for the
tor
package i just installed? 🤔that package is just the tor CLI, can run
tor --help
to get a full list
if you want the tor browser you can grab it from flathubI mean the file list of what is installed where...not the command options...
rpm2cpio rpmfilehere.rpm | cpio -idmv
will extract an RPM into the current directory
so you can look at what's in itUhmmm... i didn't download the tor rpm manually, it was done automatically using rpm-ostree, so where is that file to use that command you say?
you'd have to grab it from the repo
hmmmpf
alternatively you can look at how the rpm file is built upstream
https://rpm.torproject.org/fedora/39/x86_64/
here's the rpm sources
so you can do your extraction
so there is no way to view the file list of packages installed using
rpm-ostree
for a specific package? 🤔not that I am aware of
hold on
rpm -ql tor
might workNo such file or directory
new command ^
ql
ahh you edited the command 🤣
THAT worked, thx 👍
np
see DM, to not derail this topic even more for my aside question...
could it be installed in distrobox?
tor works similar-ish to a vpn so no
Solution
Doing it again after a fresh install, so marking the steps for later and reference for others reading this later:
1. Main instructions at: https://community.torproject.org/relay/setup/bridge/fedora/
2. Add the Need more research to keep it at enforced...
Seems it is NOT needed anymore, because things work without it on my fresh install of
Tor.repo
file (Step 2), followed by:
3. Edit the relevant tor config file under /etc/tor/
4. SeLinux:
Bazzite
, most likely due to the rpm-ostree
command 🤷♀️
5. Enable the tor service you are planning to use using systemctl enable
fe. in my case it was tor@obfs4-includes
which is an instanced version which uses a custom config.
6. Reboot your machne, and it will start at boot.
🖖Tor Project | Fedora
Defend yourself against tracking and surveillance. Circumvent censorship. | Fedora
you can also download the archive on the website