I actually did that. Or well, I was planning to upgrade the Debian version and instead of doing it in place I replaced the drive (kept the old around for a while just in case) and did a clean install. I didn’t make any new backups or moved configs or anything outside what I already had, the system was back to operations faily quickly. The main reason, I have a markdown file describing every configuration and recovery step needed to get a fresh system to a fully working state in case of a disaster, and my test showed that it worked great. It does take a bit of effort to keep it up-to-date, but as shown, really worth it, and it douples as a small wiki for accumulated knowledge. I do wish to play with Ansible at some point if I have the time, but this works for now.
- 0 Posts
- 22 Comments
Guiorgy@lemmy.mlto
Technology@lemmy.ml•The Internet goes on high alert after discovery of 8 compromised TLS certs
1·3 days agoDid you restart the browser/phone in between? Maybe the old cached list was being used? Heard some recommend restarting the phone just to be sure.
Guiorgy@lemmy.mlto
Linux@lemmy.world•Why are all the Lenovo ThinkPads either like $500-600 or like $2000?English
1·4 days agoHuh?!
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•PSA: PHP warns it plans to release 2 emergency patches imminently (today 14:00 UTC)English
81·7 days agoWouldn’t be surprised if the big guys got first dibs before everyone else
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•PSA: PHP warns it plans to release 2 emergency patches imminently (today 14:00 UTC)English
6·7 days agoSynology had a critical system and PHP package update yesterday, could it be related 🤔
Guiorgy@lemmy.mlto
Technology@lemmy.ml•The Internet goes on high alert after discovery of 8 compromised TLS certs
3·7 days agoStrange. Are you on Android or iOS?
Guiorgy@lemmy.mlto
Technology@lemmy.ml•The Internet goes on high alert after discovery of 8 compromised TLS certs
18·7 days agoFirefox showed all green on my phone, same as Chrome. Are tou maybe missing an update? Check the Play Store for updates.
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•PSA: unattended-upgrades restarted nginx in the middle of my streamEnglish
2·8 days agoI mean, unattended upgrades has it’s own config file where you can specify when to schedule a reboot (when needed), which you’d usually do in off-hours like 2 AM your local time, so changing the Systemd unit activation time seems like the wrong fix.
Edit: Nevermind, your issue was that the daemons were being rebooted, not the whole system, if I understood that correctly
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•Welcome to [email protected] - What do you selfhost?English
1·8 days ago- Forgejo for private git repos, coz F GitHub (F as in paying respect obviously… :v)
- Portainer, though don’t use much as of late as I got used to the CLI
- qBittorrent for Linux ISOs. No, really, I use it to download Linux ISOs :v
- WireGuard, several instances, some for accessing specific services, one for accessing GeoIP blocked content when traveling
- Vaultwarden for managing passwords
- Home Assistant for managing a couple of sensors
- Nginx Proxy Manager for managing hosts
- TeamSpeak 6, just playing around with the beta for now
- Apache Subversion for private SVN repos
- A handmade C# service for storing some MQTT data into a database
- peaNUT a NUT dashboard for the UPS
- RustDesk for remote management of desktops
As for the hardware:
- A Raspberry pi 4 running Docker containers
- A Dell Wyse 5070 (16GB) running Proxmox with mainly Alpine Linux VMs
For frequently changing data hourly up to 24, daily up to 7, weekly upto 4, monthly up to 12.
For daily changing data daily up to 7 and etc. as above.
For seldom changing data a backup every 3 days with rotation based on a storage quota, and retention of manually held samples.
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•I’m looking for the best remote access solution that works for meEnglish
2·10 days agoDid you read it to the end?
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•I’m looking for the best remote access solution that works for meEnglish
2·11 days agoWithout root user login, the attacker would have to guess not only the password to the user but also the username (hopefully it’s not something simple like admin), and once you are logged in you can use sudo -i to chage into root, which will require a password, therefore, we also disable password login so if someone does manage to somehow compromise the SSH user, they’d still need the password to become root.
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•I’m looking for the best remote access solution that works for meEnglish
1·11 days agoYou could spin a publicly exposed WireGuard daemon firewalled to allow peers access to the non-public SSH port only, which would result in double encryption, but would give you the peace of mind that an attacker would have to compromise both at the same time, which is very unlikely. Plus, WireGuard is very cheap to deploy and produces no logs. We use that model in my office to access our server.
Edit: Otherwise, as others mentioned, you’d move the SSH daemon to a random port, disable password login and weaker keys and cyphers, setup Fail2ban, and optionally setup GeoIP blocking (only allow IPs from your region to connect).
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•ISP won't set up static IP - Services keep going downEnglish
1·12 days agoNot in the US, at work we pay 6 times the rate I pay at home for 1/6 the speed I get at home, everyone hates our office internet speed 😂, at least it’s static do we can host stuff
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•ISP won't set up static IP - Services keep going downEnglish
14·12 days agoEither use a dynamic DNS service, as many others have mentioned and probably easiest, or, assuming you only want yourself to have access to the services, another option is to use something like Tailscale or a WireGuard/FRP instance in a static VPS as the rendezvous point.
I was flat out rejected by my ISP to have a static IP, though I only had it changed once since I started hosting services, so ahatever.
Yep, my network was set up before the ISPs here merged by a smaller one that did things simpler, so I dont even have an ISP modem, just my OpenWRT router and no CGNAT, and I’ve only had my IP change once so far (since I started caring about it at least). Everything newer around uses ISP modems and are behind CGNAT, on my mates modem, they wouldn’t even let him set up his Wi-Fi, he had to go with double NAT-ing and setting 2 APs next to each other (the ISP modem/router has some default trash Wi-Fi). I’m praying they never bother coming to me 🙏
Never expose the bare remote control endpoint publicly. For example, recently macOS had a critical vulnerability where an attacker could completely bypass authentication on their Screen Sharing daemon, and the researcher had estimates around 40k publicly exposed systems, and it was found out that the vulnerability was in fact being used in the wild. Exposing things like that publicly is asking for trouble.
Personally I don’t like relying on 3rd party systems like Tailscale, so I just have a WireGuard peer running firewalled to only allow access to what is necessary, though you can skip the firewall part. This obviously assumes you have a routable public IP, i.e. no CGNAT, if that’s not the case Tailscale is probably what you want.
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•Help with Getting My Reverse Proxy to Forward the Correct IP AddressEnglish
2·15 days agoThe way a reverse proxy works is to literally stand in the middle of a connection, so either side only sees them communicating with the proxy, oblivious to the actual endpoint. The only “solution” to this, though it’s more of a hack really, is to somehow send the original IP as additional data in a way that both sides agree on, e.g. the X-Forwarded-For header as others have mentioned, however, as I’ve said, both sides need to support and aggree with that, so you may have to find a setting/config to enable on the services behind the proxy. Think of it this way, if services blindly trusted that header and you weren’t using a reverse proxy, a bad actor could send a request to your service with that header included thereby spoofing their identity in your logs, therefore, this kind of thing is usually opt-in
Regarding Lasse Collin, technically he did eventually open a liberapay page where people can donate to him, though it’s only at €60/week as of writing.

Proxmox VM snapshots and backups, plus proxsave I assume?