• 3 Posts
  • 25 Comments
Joined 3 years ago
cake
Cake day: June 20th, 2023

help-circle
  • I have just recently started messing with Authentik. And I can confirm OIDC claims and whatnot are an absolute nightmare. I have some experience setting up SAML stuff from my work, but I only do that if our main guy is out and I always struggle with it there too.

    Your setup sounds the most like what I am doing now, minus the DMZ. But all of my containers are rootless. I am running everything on TrueNAS right now.

    I think I will lean more on Authentik, as the provisioning of users and giving them access to services through that is very easy. I will probably stick with Cloudflare for the time being, but I will look more into Pangolin.





  • I would like to avoid paying for a VPS. I probably should have clarified in my post too that I am specifically looking for advise on securing public facing services. While I certainly could make everyone use a tailscale-like service, at this point I think securing an external service would be easier. Especially since most of these people would not be tech savvy and I don’t particularly want to play tech support for their VPN.






  • These contracts do not stipulate reimbursement for lost revenue. The “uptime guarantee” just gets you a partial discount or service refund for the impacted services.

    It is on the customer to architect their environment for high availability (use multiple regions or even multiple hyperscalers, depending on the uptime need).

    Source: I work at an enterprise that is bound by one of these agreements (although not with AWS).



  • I’ve never used your exact setup, but I have had issues with a web server behind a WAF not getting the client IP (all user traffic was shown as the WAF IP). In my case, the WAF was appending the client IP in a header, and I just had to tell web app to use that header as the client IP instead of the actual IP. Again, not sure if this helps since I have never used podman or caddy (this setup was with Wordpress and an Azure Application Gateway) but the same principles might apply.





  • I moved all of my Docker containers over to TrueNAS apps recently, and it’s been great so far. Alternatively, I think the best option for keeping your compose files and all that would be to upgrade to 25.04 (Fangtooth). Fangtooth lets you deploy containers using compose YAML. Each app has to be in its own YAML which can be a bit of a pain, but you would fully own everything so no need to worry about another rug pull.

    Alternatively, I’ve seen some people just install Dockge and run all of their containers inside of that.


  • I work for a medium size enterprise as a backup architect. All of our backups are crash consistent and we’ve never had an issue.

    Windows has an easy way of dealing with this in the form of VSS. As long as the application supports it, VSS can prepare the system and application for a backup, putting it in an application-consistent state before the snapshot is taken. Unfortunately, there is no equivalent for Linux. The best you can do is pre-freeze and post-thaw scripts to put the application/OS in a backup-ready state. Really though, I wouldn’t worry too much about it. Unless you are running an in-memory database, you really don’t need to worry about application consistency. If you are running an in-memory database, take database level backups (can also be done with pre-freeze/post-thaw scripts) and back up the backups.

    Just remember to test whatever solution you end up going with, and make reminders to frequently re-test your backups. You never know what might change in a year’s time, so re-testing periodically is a good way to make sure everything is still functioning properly and make sure your data is still protected. And testing needs to be more than just making sure the VM powers on. Make sure the application can start up and function properly before calling it a successful test.


  • I have been using TrueNAS for about 3 years now and couldn’t be happier. It can do all of the backup stuff for you as well. I’m not sure if you would be able to use the key server for booting though, but I believe it would check all the other boxes. I don’t currently run VM’s on it (only docker), so not sure what it can do for VM backups.

    Regardless of what you end up going with, I’m curious why you are saying you need to shut down the VM to back it up? I’m not familiar with how you are running the VM so not sure if it’s a limitation of the hypervisor, but I would think as long as you can snapshot the disk, you could just back up the snap. It would be crash-consistent rather than application-consistent, but for a backup scenario that should generally be fine.


  • Yeah, I get it’s unusual and it sucks it happened. I honestly would have been less upset if it was a driver issue or something like that. I at least could have looked at dmesg logs or something to try and figure out what was going on. I’m new to GUI Linux, so I had no idea where to start with this one. I think this was more frustrating than a driver issue or something similar for me because I would expect installing applications from the built in repositories to be something that “just works”.

    Hopefully as more people move over to Linux distros, we will get more people that donate to them as well so more dedicated developers can be hired to work on such things. I know it will get there one day, and it’s already so much better from when I last tried gaming on Linux back in the early 2010’s. Hopefully the full release of SteamOS will truly bring about the age of Linux desktop.


  • I get it. Working in IT and doing this stuff all the time and being surrounded by other technical people really disconnects you from the knowledge of the average user. I’ve worked in IT for over 10 years now, and I am always overestimating how much technical knowledge the average user has. Luckily I don’t have to talk to end users anymore, but even when helping friends and family with things, stuff that I think is common knowledge isn’t common among less tech-savvy people. I still struggle with this, and suspect I will for a very long time.

    I’ve heard of Endeavor before as well. May give it a try, but then I feel like I would be one of the distro-hoppers I always see out there. I just crave stability.


  • I installed Bazzite on my personal gaming PC a few months ago, so I have done more than try it. My AMD drivers would crash on Windows when playing Helldivers about every 30 minutes. I lost count of the number of times I booted into safe mode and ran DDU to uninstall drivers. Haven’t had the issue a single time on Linux. The Bazzite image I’m using on her PC is different than mine since she currently has an NVIDIA GPU. She has an old 1080Ti because Microcenter was out of stock of all GPU’s on the day we went to buy the rest of the parts for her build. Eventually she will get a newer AMD GPU as well and we can be on the same image.