this post was submitted on 18 Mar 2025
17 points (90.5% liked)

Selfhosted

44647 readers
2387 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Did anyone paranoid like me research security implications of running Tailscale/Headscale or similiar?

Right now I'm self-hosting headscale controller in my LAN and expose it to public Internet. I'm thinking about moving it to a VPS, but I'm a little paranoid about exposing the software that controls connectivity between my and family machines to a third party, be it official Tailscale controller or VPS provider where I run Headscale.

Currently I think that even in the worst case of someone compromising my Headscale instance it should still be fine as long as all of the machines are properly firewalled and all of the exposed apps and services are behind authentication. I run everything behind Authentik and only keys for SSH access. I will certainly add some network monitoring to all of that.

Any opions and suggestions on this matter are welcome.

you are viewing a single comment's thread
view the rest of the comments
[–] BCsven@lemmy.ca 3 points 2 days ago* (last edited 2 days ago) (2 children)

I can't offer technical network advice on vps headscale; Personally I'm not confident in my network skills. I would be more inclined to go through the pain of manually setting up wireguard instead of having a tailscale or headscale service-- and skipping the middleman so to speak.

Edit: setting up a new system this month, Tumbleweed has moved to SE Linux Enforcing as default. It provided some ssh and samba challenges at first until I learned about setting SEL policies. So maybe hardening with SE Linux would also be smart. For example I could SSH remotely into my machine but due to policies being locked down I could not run user bash, or even see contents of the home folder.

[–] McMonster@programming.dev 3 points 2 days ago (1 children)

Thanks. Plain Wireguard is an option I'm considering, but it's also considerably more hassle to configure and maintain, especially as I connect more family members to my network. Headscale also has an extra layer of security in the form of ACLs, which I plan to use on top of basic firewall configuration. I do connect my personal machines with Wireguard, but I use one family member as a Tailscale/Headscale test subject.

As for SELinux, I've gave up on it already. It caused me so much headache over the years I disable it with a kernel parameter by default on all machines.

[–] BCsven@lemmy.ca 3 points 2 days ago

Yeah it definitely is a pain for adding multiple machines.