ZeroTier One - how to Install it?
So i've tried the instructions on their website, but I got this:
Then I tried Git Clonning the repo, and compiling, but got this:
https://pastebin.com/raw/88LsFygq
Solution:Jump to solution
@Lion_4K Try doing
sudo nano /etc/yum.repos.d/zerotier.repo
, then pasting this inside:
```
[zerotier]
name=ZeroTier, Inc. RPM Release Repository
baseurl=https://download.zerotier.com/redhat/fc/$releasever...120 Replies
does homebrew have it?
yup it does
brew install --cask zerotier-one
tada
should work aftergonna try it now
it didnt.
bazzite@kurama:~/ZeroTierOne$ brew install --cask zerotier-one
Error: macOS is required for this software.
bazzite@kurama:~/ZeroTierOne$
odd because the correct way to install it on macOS isnt even by brew
try it without --cask that's probably wrong
--cask is not supported on Linux
hmm doesn't --cask refer to graohical apps also?
Nope
instal -> install
Yeah it means graphical

i recall there being static zerotier binaries out there
it's not a very complicated app
Reddit
From the SteamDeck community on Reddit: Install zerotier-one withou...
Explore this post and more from the SteamDeck community
One second, I'm piecing together the repo file from their cursed script
There's a better way
What's your plan, installing the RPM?
I faced something like that on FydeOS
They have an RPM repo
This script is fucking stupid
so
rpm-ostree
works too proablyWhy is this script so stupid
Why do they do this
Okay, seems I got it
what about htis?
https://github.com/aaron777collins/ZeroTier-GUI-Arch
GitHub
GitHub - aaron777collins/ZeroTier-GUI-Arch: ZeroTier-One On Arch
ZeroTier-One On Arch. Contribute to aaron777collins/ZeroTier-GUI-Arch development by creating an account on GitHub.
it's a flatpak but not a flatpak at the same time ๐
huh
Solution
@Lion_4K Try doing
sudo nano /etc/yum.repos.d/zerotier.repo
, then pasting this inside:
Save, then run
rpm-ostree install zerotier-one
This should make it autoupdate along with your system
Let me know if it workstesting it now.
Why do they hardcode the gpg key in the install script if they have it at the root of their repo
That is moronic
i think it worked
Staging deployment... done
Added:
zerotier-one-1.14.2-3.fc42.x86_64
Changes queued for next boot. Run "systemctl reboot" to start a reboot
bazzite@kurama:~$
Lovely
ive systemctl reboot
gonna test next
im actually at work, sshing to my raspberry box at home and lan ssh to bazzite box
@Zeglius worth a just? Their install script is so stupid
i wanted zero tier so I could ssh directly to it
Said it multiple times yes is awful. Probably it is worthwhile
I haven't read as much Bash as some people but it is some of the worst I've seen
Yeah
Second that opinion
ujust enable-tailscale
๐Again I have a lot of other devices all on zerotier, its not feaseble to have another tunel provider
tailscale does that too
I see
So it's simply this, right?
Yes
I made the repo URL https and added the key
They hardcode it in the script for some reason
Even though it's in the cursed repo
Hardcode and then import it
I pieced it together from this abomination

Only need to tee the file, install and enable the service
Mmmm enabling the service will be the tricky part, as only shows up after rebooting
Probably can copy paste what I did for the VM one
it installed, but I think its not working properly
Just live apply, YOLO
You need to enable the service
Have you done so?
sudo systemctl enable --now zerotier-one
sudo zerotier-one
would start itnice
200 join OK
bazzite@kurama:~$
Oh right that's a thing, thx
without systemd
Did it do it?
thats it! it workd!!
By enabling the service?
yeah the daemon is called
zerotier-one
thank you guys for all your effort, and your time!
I absolutelly love you guys!
bit unusual
I'm technically solving it for myself since I thought of installing it at some point
And knew their script was abhorrent
@Kyle Gospo do you think it would be fine to include zerotier at build time so we avoid layering?
Probably not, it's emulating LAN
how large is the app? bazzite already has tailscale
Plus Tailscale is already there
if it is similar size, why not
I mean sure, but if we don't include it then we need to resort to layering
So is worth considering it
idk, it's a narrower use case
Fit for a layer in my eyes
"how do I install <insert networking software here>" is a common usecase as I see
Certificate of Victory Achieved:
I hearby dedicate this to everyone here!
The most common use for ZeroTier in Bazzite is likely cross-network LAN multiplayer
Which is cool I guess, just unsure if it's worth including in the image
well, I used to use it as a substitute for Hamachi
Right
Wan-Lan lol
I guess it'll depend on whether Kyle wants that as a bullet point in the README
It is way, way, way better than Hamachi
Not nearly as easy to use though
People tend to use Tailscale for what you're doing here
I mean, Hamachi was my first tunel ever, so holds a spot in my chest
then I learned to PortForward, and then realized tunels are better and safer
lol
Yeah like, if it wasnt for the other dozen things on my ZeroTier network id use it
tailscale may actually be able to do the other dozen things
I use tailscale for sunshine+moonlight when not at home, it surely can handle multiplayer gaming
what sort of things do ya use it for?
Tailscale is more of a personal VPN, ZeroTier is for tunneling LAN
I wouldn't put a friend's device in my Tailscale network for LAN multiplayer
no not really it does have access controls
I know there's some firewall stuff
i don't even know what someone could access by default
Just saying one is more for tying your own devices together and the other between people
on someone else's network
You can do it of course
your devices are still tied to you even on somebody else's network
mainly ssh
so other users on a network is very much a fundamental concept
The free tier is limited to 3 users
that's nothing
3 devices?
100 devices though
3 users
oh good then
hmm does zerotier have some support for ssh? or is it just a regular old service you have to run/connect
It's a LAN tunnel
tailscale has it's own ssh thingy
I guess it does, since I use it and didnt needed to do anything other than join a network
I don't think it has anything proprietary for SSH
I think it quite litteraly just put all my devices into a virtual LAN
not even authenticate?
nope, just my network ID
It's as if you're in the same LAN
Same experience
and now saying that out loud makes me worry a bit
tailscale has it's own ssh client thingy
Pretty sure there are security measures you can add
which allows you to sssh into your own devices without confirming your identity twice
iirc disabling users from entering your network as opposed to you adding them manually
yeah just enabled the only one, "require autorization""
which is behind a web login, thats guarded by my google account, which is hardware protected
I think you can disable users from joining altogether
nope, just public and private, turned private, now I need to manually approve
tailscake is working on a zero trust solution currently if their control server is compromised they can authenticate machines & add them to your network to spy on you
but when network lockdown mode is enabled your devices have to confirm each new device
by signing it off with cryptographic keys only they have
the control server isn't open source though there's headscale an open reimplementation
though like this if you somehow lose all the devices you lose the network
that was fast
add a warning that rpm-ostree will be used imo
Make sure to add a comment suggesting it be added in the image
We don't for other things
example?
CoolerControl

Now add this to the CoolerControl one and we'll be golden
Also, it's ZeroTier One officially I believe
where, in the repo.d?
In that message
yeah fixed
Maybe link this as well โ https://docs.bazzite.gg/Installing_and_Managing_Software/rpm-ostree/#major-caveats-using-rpm-ostree
done
Posted a comment