this post was submitted on 20 Aug 2024
64 points (97.1% liked)

Selfhosted

40296 readers
213 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 1 year ago
MODERATORS
 

Basically every local service is accessed via a web interface, and every interface wants a username and password. Assuming none of these services are exposed to the internet, how much effort do you put into security here?
Personally, I didn't really think about it when I started. I make a half-assed effort at security where I don't use "admin" or anything obvious as the username, and I use a decent-but-not-industrial password - but I started reusing the u/p as the number of services I'm running grew. I have my browsers remember the u/ps.
Should one go farther than this? And if so, what's the threat model? Is there an easier way?

you are viewing a single comment's thread
view the rest of the comments
[–] DaGeek247@fedia.io 2 points 3 months ago (2 children)

You have to take extra steps to ensure that the benefits of NAT aren't lost when you switch to ipv6. Everyone knowing exactly which device you're using because a single ipv6 IP per-device is the default.

Ipv6 is nice, but also you need to know what you're doing to get all the benefits without any of the downsides.

[–] cmnybo@discuss.tchncs.de 5 points 3 months ago (1 children)

Most devices generate a random IPv6 address and change it frequently. Your browser fingerprint is much more useful for device tracking than your IP address anyways.

[–] seaQueue@lemmy.world 4 points 3 months ago

+1, your list of browser extensions, list of plugins and list of available fonts are also available to anyone trying to fingerprint you. This idea that NAT will somehow obscure you enough to be anonymous online is security voodoo.

[–] seaQueue@lemmy.world 3 points 3 months ago* (last edited 3 months ago) (2 children)

Your firewall should take care of that, it's pretty rare to be connected directly without one and by default any decent routing package will filter incoming traffic that's not in the state tracking table. NAT isn't designed for security, any security benefit it provides is a side effect rather than the intended purpose.

Edit: check out ipv6 privacy extensions too, there are solutions there that can reduce info disclosure if that's a concern. You can accomplish many of the same benefits of NAT with v6 features without the downsides that NAT brings.

[–] DaGeek247@fedia.io 2 points 3 months ago (1 children)

Not access, knowledge. Giving a specifically unique device identifier every time you visit a page is different from the website guessing if you visited recently based on your screen size and cookies.

You have to set up ipv6 to change regularly to avoid that.

[–] seaQueue@lemmy.world 3 points 3 months ago

I mean, the horror of having to tick a box to use rotating v6 addresses. These are all solved problems, they're not a flaw worth ignoring the entire ipv6 protocol over. Most major operating systems have moved to stable privacy preserving addresses by default, that's true, but it's not all that difficult to turn on address randomization and rotation either. And, hell, if you're that married to NAT as security just use NAT66 and call it a day, nothing about NAT is exclusive to ipv4.

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

There was an article that many Routers were shipped with Ipv6 firewall off, and less savvy users would never know to check