selfhosted

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

flop_leash_973, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?

And here I thought I had a lot of hdd platter coaster’s.

Potatos_are_not_friends,

I have like 15 over the past decade and now I realize I am an ant to OP

hemmes, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?
@hemmes@lemmy.world avatar

Dude’s the Predator of the IT world

ssdfsdf3488sd,

Pretty sure that title is firmly held by mcafe, even now.

solberg, in Termius alternative ?

It’s not a Termius alternative, but I found that after setting up Tailscale SSH on all my servers, I don’t really bother using Termius any more.

The plain macOS terminal looks better to me anyway

LunchEnjoyer,
@LunchEnjoyer@lemmy.world avatar

Tailscale is my favourite tool of all, just makes life so much more simple!

BearOfaTime,

Tailscale just solves so many these types of problems.

With a virtual network, you mo longer need tools that work over the internet - just use the same tools as you would on a LAN.

I’ve used Hamachi this way on windows since about 2006. I’ve waited for an Androidi/iOS client, but it never appeared. Glad to see Wireguard/Tailscale step in to fill that gap, and it’s self-hostable!

person, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?

There’s always exactly one screw that won’t let go and I end up stripping it beyond hope, so I rarely get the platters out. I only want (need!) the magnets anyway!

Maalus,

Drill it

possiblylinux127, in Self hosted free iOS MDM

What’s a MDM?

Flying_Hellfish,

Mobile Device Manager, used for protecting/locking down devices.

BearOfaTime,

I’d say locking it down is a feature of being managed, not necessarily what it does.

When managing devices, you can enable users to have as much control as you’d like.

It’s more about being able to manage devices from a single place, similar to what business does with workstations and servers (e.g. MS SCOM.

Plenty of users still have admin rights even with SCOM being used. It still really helps from a support perspective.

Delphiantares, in I want to get started with *arr apps - here are all the things I don't understand about (reverse-/)proxies and networking in order to get it set up.

If you get a reverse proxy setup all you need is port 80 and 443 and configure it it’ll expose the services that you want to be exposed through the subdomain Personally I’ve got Traefik service sitting on my media server and anything I want to expose goes through it .it has the details for the connection to cloudflare and so long as I direct it properly both on the container side and Traefik it’ll run as expected. The idea is if you go to say jellyfin.example.com cloudflare will direct that at at your reverse proxy(nginx in this case) which then redirects to the right machine/container because you entered from “jellyfin” .

The VPN gluten it is another container that will have the login details to your provider .

I’m still working my way through the self hosted rabbit hole myself, however I used a combination of Google and thishttps://www.smarthomebeginner.com/traefik-docker-compose-guide-2022/The entire site not just the specific article linked . As well as https://trash-guides.info/

funkless_eck,

Traefik

I will look into this, thank you.

maynarkh, in I want to get started with *arr apps - here are all the things I don't understand about (reverse-/)proxies and networking in order to get it set up.

Look, this is a large puzzle you’re trying to solve all at once. I’ll try to answer at least some of it. I’d advise you take these things step by step. DM me if you need some more help, I may have time to help you figure things out.

I paid for and installed mullvad (app) but it crashes a lot (for over a minute every 20 seconds), so it looks like I need to configure something like gluetun to do it instead.

Check the error logs and see what’s wrong with it instead. How is it crashing? Did you check stdout and stderr (use docker attach or check the compose logs)?

If I want to watch them on my TV I need to connect something to my TV that talks to the raspberry pi, so I have an NVIDIA shield with Jellyfin installed on it - but in order for the NVIDIA-Jellyfin to connect to the RaspberryPi-Jellyfin it needs to go through the internet (if this is not the case, how does one point the NVIDIA-Jellyfin at the Raspberry Pi jellyfin?)

Technically not. You can use the Jellyfin web UI to stream directly from the RPi. You may need the shield if the RPi does not have enough resources for streaming, but I’d try it out first. Try to get the IP the Raspberry is listening on on your local network and put that in a web browser on a computer first. IF you get the web UI and can watch stuff, then try a web browser on your TV, or cast your computer to the TV or something. As long as you have a web browser you should be fine.

First of all, is that all correct or have I misunderstood something?

You should look a bit into how the internet, DNS and IP addresses work on the public internet and private networks. You can absolutely set it up so that traffic from your local network hitting your domain never leaves your home, while if you try the same from somewhere else, you get an encrypted connection to your home. You’re a bit all over the place with these terms so it’s hard to give you a straight answer.

How does mysubdomain.mydomain.com know it’s me and not some random or bot?

If the question is whether how the domain routes to your IP, look up how DNS works. If you are asking how to make sure you can access your domain while others can’t look up the topic of authentication (basically anything from a username/password to a VPN and network rules).

How do I tell Cloudflare to switch from web:443 to local:443 (assuming I’ve understood this correctly)

If I remember correctly, Cloudflare forwards HTTP/S traffic only, so don’t worry about the ports, that’s all it will do. About the domains, you need to have a fixed public IP address for that, and you have to give Cloudflare by setting a DNS A record for an IPv4 address and/or an AAAA record for an IPv6 address.

So something like this: A myhost.mydomain.com 123.234.312.45

Is this step “port forwarding” or “opening ports” or “exposing ports” or either or both?

Nope. Port forwarding is making sure that your router knows what machine should answer when something on the Internet comes knocking. So if the RPi port 8096 is “forwarded” to the router, then if something from the internet connects to the router’s 8096 port, it will get to your RPi instead of something else. Opening ports has to deal with firewalls. Firewalls drop all connections on all ports that are not open, for security reasons. By opening a port you are telling the firewall what entities outside your device can connect to a service like Jellyfin listening on that port. Exposing ports is Docker terminology, it is the same as port forwarding except instead of “moving” a port from your machine to your router you “move” a port from a container to your machine.

If my browser when accessing mysubdomain.mydomain.com is always going to port 80/443, does it need to be told it’s going to talk to cloudflare - if so how? - and does cloudflare need to be told it’s going to talk to NGINX on my local machine - if so how?

The DNS server you are hosting the domain from will propagate that info through the DNS network. Look up how DNS works for more info. If your domain is managed by Cloudflare, it should “just work”. Cloudflare knows it talks to your router by you setting up a DNS record in their UI that points to your router, where your RPi’s port should be forwarded, which directs traffic to your RPi, on which your NGINX should be listening and directing traffic to your services.

How do I tell NGINX to switch from local:443 to local:8096 (assuming I’ve understood this correctly)

Look up NGINX virtual servers and config file syntax. You need to configure a virtual server listening on 443 with a proxy_pass block to 8096.

Is there a difference between an SSL cert and a public and private key - are they three things, two things or one thing?

Yes, SSL certs are the “public keys” of an X509 pair, while what you know as “public and private keys” are RSA or ED25519 key pairs. The former is usually used to make sure that the server you are accessing is indeed who it claims to be and not a fake copy, it’s what drives HTTPS and the little lock icon in your browser. RSA or ED25519 keys are used for authentication as in instead of a username and password, you give a public key to a service, then you can use a private key to encrypt a message to auth yourself. One service you might know that it uses it is SSH.

Doesn’t a VPN add an extra step of fuckery to this and how do I tell the VPN to allow all this traffic switching without blocking it and without showing the world what I’m doing?

A VPN like Mullvad is used for your outgoing traffic. All traffic is encrypted, the reason you want a VPN is not so that others can’t see your messages, it’s so that your ISP and the other people forwarding your messages don’t know who you’re talking to (they’ll only know you’re talking to your VPN), and so that the people you’re talking to don’t know who you are (they are talking to your VPN). You need this so your ISP doesn’t see you going to pirate sites, and so that other pirates, and copyright trolls acting as pirates don’t know who you are when you talk to them and exchange files using torrents.

Gluetun just looks like a text document to me (compose.yml) - how do I know it’s actually protecting me?

I don’t know shit about Gluetun, sorry.

From nginxproxymanager.com : "Add port forwarding for port 80 and 443 to the server hosting this project. I assume this means to tell NGINX that traffic is coming in on port 80 and 443 and it should take that traffic and send it to 8096 (Jellyfin) and 5000 (ombi) - but how?

Again, look up virtual servers in NGINX configuration. You need a virtual server listening on 80 and 443 proxying traffic to 8096 and 5000, separating on hostnames I guess.

Also from that site: “Configure your domain name details to point to your home, either with a static ip or a service like DuckDNS or Amazon Route53” - I assume this is what Cloudflare is for instead of Duck or Amazon? I also assume it means "tell Cloudflare to take traffic on port 80 and 443 and send it to NGINX’s 80 and 443 as per the previous bullet) - but how?

Add a DNS A record.

funkless_eck,

thank you so much for this considered reply. I’m just stepping out now, but will check in later to go through this in depth

funkless_eck,

Check the error logs and see what’s wrong with it instead. How is it crashing? Did you check stdout and stderr (use docker attach or check the compose logs)?

“Crash” is the wrong word. The app is running, it says “Connected” for about 15-20 seconds, then it says “Internet blocked” for about 20 seconds, then it says “Reconnecting” for 30-90 seconds, repeat indefinitely.

Using the CLI for logging, it says something along the lines of “Timeout… Hyper time out”

You should look a bit into how the internet, DNS and IP addresses work on the public internet and private networks.

Do you have any recommendations on how to learn this?

Also, thank you for explaining that “configuring a domain name” is adding an A record. I’ve added TXT records and similar for Google analytics and I’ve added mail records to set up my own domain’s email before - but this is helpful, thanks.

indigomirage, in Question: Best UI to manage VMs and containers?

Give portainer a try. It’s actually pretty good for getting a birdseye view, and let’s you manage more than one docker server.

It’s not perfect of course.

indigomirage,

Note that if you want actual virtualization then perhaps Proxmox (not sure if it manages multiple hypervisors - I haven’t obtained something to test it on yet). Portainer is best for Docker management (it, and it’s client agents, run as docker containers themselves. Don’t forget to enable web sockets if proxying.

originalucifer, in Private and/or cheap places to register a domain
@originalucifer@moist.catsweat.com avatar

https://www.nearlyfreespeech.net/

pay for what you use

rdyoung,

They aren’t looking to host a website. They are looking for domain registrars

originalucifer,
@originalucifer@moist.catsweat.com avatar

ha, uh, that is what they do there. maybe go take a look before jumping to conclusions. they also have great privacy costs for those domains

LufyCZ,

It’s not.

glimse,

I took a look and didn’t see domains mentioned until you go to the members login page. It’s not even on the sign up page.

So, uh, maybe go take a look at the link you’re posting. And also don’t write “pay for what you use” when someone is asking about buying a domain if you don’t want people to think you misunderstood the question

originalucifer,
@originalucifer@moist.catsweat.com avatar

whatever take it leave dont care, just my suggestion i standy by. have a nice day

atzanteol,
lemann, in Alternative to Home Assistant for ESPHome Devices

I went with the virtual appliance when I installed Home Assistant several years ago, turned out to be a great decision looking at how it’s architected. I only self-host the database separately, which i’ve found easier to manage.

the fact that the storage usage keeps growing

There should be a setting to reduce how long Home Assistant retains data for - I removed the limit on mine, however its possible that on newer versions they’ve changed the default

Hope you find a solution though - I think node red (capable of doing dashboards on its own) with something else is going to get you part way there.

TCB13, (edited )
@TCB13@lemmy.world avatar

I’ve been doing this. I’m running HA under LXD (VM) and it works.


<span style="color:#323232;">$ lxc info havm
</span><span style="color:#323232;">Name: havm
</span><span style="color:#323232;">Status: RUNNING
</span><span style="color:#323232;">Type: virtual-machine
</span><span style="color:#323232;">Architecture: x86_64
</span><span style="color:#323232;">PID: 541921
</span><span style="color:#323232;">Created: 2023/12/05 14:14 WET
</span><span style="color:#323232;">Last Used: 2024/01/28 13:35 WET
</span>

While it works great and it was very easy to get the VM running I would rather move to something lighter like a container. About the storage I just see it growing everyday and from what I read it should be keeping for 10 days however it keeps growing. Almost 10GB for a web interface and logs from a couple of sensors, wtf?

I would be very happy with HA, really no need to move other stuff as long as things were a bit less opaque than a ready to go VM that runs 32434 daemons and containers inside it.

icanwatermyplants,

Curious, you might want to look into what’s generating your data first. It’s easy to generate data, it’s harder to only keep the data that’s useful.

TCB13,
@TCB13@lemmy.world avatar

And how do I go about that?

icanwatermyplants,

One logs into the VM and starts checking the files of course. Go from there.

icanwatermyplants,

Curious, you might want to look into what is generating your data then first. It’s very easy to generate data, it’s a lot harder to only generate and keep useful data.

DetachablePianist, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?

I used to make clocks with the platters and give them to friends and family. Michael’s used to sell inexpensive clock mechanisms that looked really cool against the platter background. I haven’t seen them lately, but I’m sure someone sells them online.

Trincapinones,

That’s very cool, do you have a picture of them?

user224, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?
@user224@lemmy.sdf.org avatar

I will keep the magnets if I ever get into this in the future, but not the platters. I’ll just safely destroy them and dispose of them.

So far I only had 3 laptops and no desktops. I had 0 HDD failures, since I only ever had 3 of them so far.
The oldest one is more than 17 years old 80GB 2.5" Fujitsu HDD.

SzethFriendOfNimi,
@SzethFriendOfNimi@lemmy.world avatar

The magnets are fantastic for tool mounts since they’re so strong

tburkhol,

Back in the day, I’d go through HDDs faster than systems-always needed to add storage before I could replace the CPU. I didn’t start disassembling them until they got up to the 500 _M_B range, but you’d often get 3 platters back then. OP must be harvesting from a whole workgroup - I’ve only got a 3cm stack and 7 drives waiting for the screwdriver.

terminhell, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?

Magnets, yes. Great for the fridge!

perishthethought,

Just watch out for your fingers. Yeee-ouch.

iluminae, in Proxmox HA, Docker Swarm, Kubrenetes, or what?

I use k8s at work a lot - I choose to use Nomad at home, you may want to add that to your shortlist.

jelloeater85,
@jelloeater85@lemmy.world avatar

How you liking it? Seemed a little hard to learn to me, and I do TF and Ansible.

1984,
@1984@lemmy.today avatar

I thought it was quite simple but it depends on your experience of course. It’s a single binary and a single config file, so I felt it was soo much simpler.

You can buy a good udemy course for 10 dollars too which really helps in the beginning.

iluminae,

Yea it’s very easy to learn enough to run, it has built-in service discovery and secrets now, and writing parameterized jobs feels so much nicer than a helm chart in k8s.

10/10, would orchestrate again

diminou,

Thank you for Nomad, will give this one a try at home!

cm0002, in Private and/or cheap places to register a domain

I used to use Google Domains, but then they sold that off to Squarespace.

Now I just use Cloudflare directly lol which also includes their free services, which is quite the value IMO

DichotoDeezNutz,
@DichotoDeezNutz@lemmy.world avatar

Same

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #