this post was submitted on 16 Sep 2024
12 points (100.0% liked)

Self Hosted - Self-hosting your services.

11599 readers
1 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

I am on a shared network. I'd like to self host services and access them from all my devices but I do not want these exposed to other people in my network. I've noticed that I can just change the port mapping in Docker to <Tailscale IP>:<port>:<port> from <port>:<port> and it just works. Works as in the service is accessible from my Tailnet, inaccessible from the local network or the internet. Is it really this easy or am I missing something? Just sounds too good to be true so I am suspicious it might somehow be insecure.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 3 months ago (2 children)

That's correct. You're telling docker to bind to that specific network interface. The default is 0.0.0.0 which listens on all interfaces.

[–] [email protected] 1 points 3 months ago (1 children)

And it is safe to host HTTP services this way, say something like Immich or NextCloud?