Updated mine, but, realistically, I don’t think most of us are directly exposing our VaultWarden instances to the internet … I can’t imagine I’m all that weird by only exposing it over VPN for remote use.
- 0 Posts
- 19 Comments
TVA@thebrainbin.orgto
Linux@lemmy.ml•Pros and cons on - and alternatives to - running three separate servers on one single Linux instance using systemd-nspawn
2·6 months agoSorry, not 100% sure what you mean “converting its spec”
If you mean take an existing docker and move it to a standard installation, that would depend on what all is needed. Some installations include a ton of other dockers with databases and such and you’d basically need to move them all independently and ensure the programs talk to each other properly.
For others, it’s be as simple as making sure the contents of your original docker data folder is in the right place when you launch the app and you’re done.
TVA@thebrainbin.orgto
Linux@lemmy.ml•Pros and cons on - and alternatives to - running three separate servers on one single Linux instance using systemd-nspawn
2·6 months agoUnless you’re downloading a prebuilt LXC, you’d still have to do all the manual install yourself.
If you do download a prebuilt one, then you’ll need to do the updating yourself, like you would a normal application, including ensuring you keep dependencies up to date and all that.
Both have their pros and cons and I use each depending on what I’m doing (and basically all of my dockers are running in their own LXC containers, which I find to be the best of both worlds).
FWIW, I don’t download any prebuilt LXC anymore other than the base ‘Ubuntu’ or ‘Debian’ ones … the ones in ProxMox that have the prebuilt apps were a pain to update for me, especially since I had no idea how they were actually installed and most of the times they didn’t have package manager installations or curl installed and it was just way more trouble than it was worth.
ProxMox does now have a built in containerized docker implementation that will use an LXC and you can just provide it the docker package details, but, it’s still in beta and I don’t know that it’s ready to be depended on yet.
TVA@thebrainbin.orgto
Selfhosted@lemmy.world•Using Fail2ban to protect exposed services
3·9 months agoYeah, I had a overall bad experience with everything being buggy and then even devices that weren’t connected to tailscale would start trying to ping the tailnet address instead of the local (wasn’t using their funky bridge subnets feature or whatever it’s called, so I don’t know why it would happen).
Their magicDNS is cool in theory but caused me nothing but problems. Once I turned off their DNS and set up my own DNS server for it though, it’s gotten to basically be as seamless as they claim it’s supposed to be from the start. I’m no longer having any issues with it at all.
TVA@thebrainbin.orgto
Linux@lemmy.ml•what debian compatible IRC client should I use now that hexchat is dead?
1·11 months agoI use Weechat with Glowing Bear as a webui frontend for it, which is pretty convenient.
TVA@thebrainbin.orgto
Selfhosted@lemmy.world•Selfhosting Sunday - What's up to date, selfhosters?
2·1 year agoI just followed their instructions and on 2 of the nodes in my cluster, I migrated all VMs/LXCs off and then did the upgrade and they went through without a hitch. For the last one, I just YOLO’d it and powered off the VMs/LXCs and upgraded it and it also went through without a hitch.
One thing I did find interesting was the systemd-boot packages needed to be removed and were on 2/3 of the machines. I basically intentionally keep their config as close to identical as possible, so I have no clue why it was only needed on 2 of them.
One of the nice things about ProxMox is that you can also set up a cluster. When OP outgrows it, they can just add a new machine to the cluster and just migrate some VMs over to it.
TVA@thebrainbin.orgto
Selfhosted@lemmy.world•My reason for wanting HomeAssistant and a locked down VLAN...
1·1 year agoThe security here is the WiFi password anything that connects to LAN gets a LAN vlan tag. but it’s not like anything that connects to any of the SSIDs can get the DHCP lease of some random device on any vlan cuz it got tagged before. Or am I missing something?
That sounds accurate. I have all my devices assigned a specific IP address, based on their MAC address, but that’s only per-interface. The other interfaces aren’t aware of my assignments for each other.
If I connect my phone to my LAN SSID, it’ll get its assigned IP, but if I connect it to the NOT [network of things, no internet access] SSID, it’ll get assigned a new address out of the DHCP pool because I haven’t assigned it an IP on that interface, until I assign it an IP. But, which VLAN it’s connected to will determine which IP its getting, and it still requires me to know the passwords for each SSID.
I believe where you’re getting confused is that a some businesses (or homelabs) might use a RADIUS server which will be more like this: ONE_SINGLE_SSID-Broadcast -> Device connects -> RADIUS Server detects account/certificate/MAC -> RADIUS Server assigns interface -> Device connects to VLAN the RADIUS server granted it access to
So, in that scenario, if the ONLY thing that’s being used to validate the access is the devices MAC address, just changing the MAC address will effectively grant a completely different level of access with nothing else changing. Most people in a homelab (and even plenty of larger businesses) aren’t running the infrastructure to do this though, they’re just effectively connecting a VLAN to a port and then that port can only be used to connect to that VLAN. They’re doing the same with the WiFi SSIDs where each SSID connects directly to the VLAN.
Usually though, for places that are implementing the RADIUS server, they’ll also install a certificate on their devices and the certificate needs to be in place in order to get certain access otherwise the RADIUS server will authorize less permissive access or just won’t allow access at all. Or, it’ll also need a user to log in to gain additional access.
For wired, the company may also implement port locking where the port will only allow a certain amount of MAC addresses to connect (presumably one unless there is also a VOICE VLAN with a phone being used, in which case it’d be two) where if you change your MAC address (or connect a different device), the port will lock and won’t power POE devices and won’t allow connectivity until an admin clears the lock. It’s possible that they may have multiple VLANs allowed on the port and client side you can change VLANs, but, this isn’t typically done on all ports, usually only on trusted ports or ports that need the multiple VLANs (my VM server for instance has access to a port that’ll allow multiple VLANs and I just enter the tag I need when I create the VM). This would be similar to your WiFi scenario, the port with the WAP connected to it will have access to multiple VLANs and then those WLANs just connect to the VLAN that they’re assigned to.
TL;DR - Typically one wireless SSID connects to one VLAN and if you want to jump to the other VLAN you’d need to connect to the other SSID, so you still have the individual passwords protecting you. On wired, typically VLANs are assigned per port and you can’t jump between then, but where they aren’t, it should be in a planned way and not just every port having access to every VLAN. Bad implementations exist though, so, anything is possible.
VMs can also be live migrated to another server in the cluster with no downtime and backups don’t need to take the VM down to do their thing. If in the future you want to move to physical hardware, you can use something like Clonezilla to back it up (not needed often, but still, something to consider).
Both have their places, but those factors are the main ones that come into play of when I want to use a VM or LXC.
TVA@thebrainbin.orgto
Selfhosted@lemmy.world•What's up, selfhosters? It's selfhosting Sunday again!
2·1 year agoSorry, I didn’t mean to insinuate you were being insulting!
“Don’t feel crazy/bad/dumb, I’ve had the same thing happen to me!” is a pretty common phrasing in my region to show sympathy and understanding and I thought that’s what you had meant (and it sounds like for your area, ‘pregnant’ serves the same general purpose!).
TVA@thebrainbin.orgto
Selfhosted@lemmy.world•What's up, selfhosters? It's selfhosting Sunday again!
2·1 year agoIt’s always crazy how that happens sometimes and after weeks of banging your head, everything just ‘clicks’ when you’re exposed to the information in the way that works best for you!
Dude, don’t feel pregnant.
Context clues, I assumed this autocorrect was some variation of crazy/bad/dumb? :-D
TVA@thebrainbin.orgto
Selfhosted@lemmy.world•What's up, selfhosters? It's selfhosting Sunday again!
1·1 year agoWeirdness: My Authentik instance had a PostgreSQL upgrade prerequisite in order to update it.
I’d followed instructions 3-4 times completely unsuccessfully and had to keep reverting to backup.
So, I gave up for a couple weeks and left it be in order to get over my frustration.
Yesterday, I followed the instructions again. As far as I can tell, I did nothing different than I’d tried previously and it worked first try and then I was also able to upgrade Authentik.
NOTE: The instructions aren’t exactly difficult! So, I don’t see how I’d have gotten it wrong!
TVA@thebrainbin.orgto
Selfhosted@lemmy.world•Looking to start self hosting by going through Louis Rossman's recently released guide. Any pointers for a newbie are most welcome.
7·2 years agoTo me, that’s the purpose of a “homelab” not the purpose of self hosting. There’s a lot of overlap, but they’re not quite the same. Homelab has a goal of learning, but just self hosting doesn’t need to.
TVA@thebrainbin.orgto
Selfhosted@lemmy.world•Looking to start self hosting by going through Louis Rossman's recently released guide. Any pointers for a newbie are most welcome.
2·2 years agoYeah, I bought the 3100 to support them and regretted that decision, unfortunately, when it came time to replace I was in a time crunch like you and wasn’t able to run my backups though a translation and it was taking way too long to do it manually so I had to just load pfSense and load the backup.
If I ever buy new hardware and the old isn’t dead though, I’m definitely going to try and make the shift away from it.
TVA@thebrainbin.orgto
Selfhosted@lemmy.world•hoarder: A self-hosted bookmark-everything app (links, notes and images) with tagging and full text search
2·2 years agoI just installed it and it’s working pretty well.
OIDC/SSO was easy to configure and I was able to do so before even signing in. I was able to proxy it with NPM quite easily too without needing to do anything special.
The only real problem I’m seeing so far is that if you have OIDC set up, there aren’t prompts to actually use it in the Android app and Firefox extensions and it still prompts for username and password instead. I got around that by creating an API key instead, but you wouldn’t think that’d be necessary.
I even imported all my Firefox bookmarks just to see how it’d handle it and it’s struggling, haha, but I think that’s likely going to be the AI auto tagging and my poor little Ollama server that’s only got a 1060 rather than it being a Hoarder issue, but linking it to the existing Ollama server was also quite easy!
Thanks for the share OP, I’ve tried putzing with Wallabag (didn’t like that they didn’t have SSO) and Linkwarden (couldn’t get it to work with NGINX or NPM), so this was refreshing with how easy it was to get up and running!
ETA: My primary usecase for this is going to just be shoving things I want to remember to look at on it rather than sending myself links to things constantly.
Things I think could be improved, but am not (yet?) annoyed enough by to even open an issue:
- The above mentioned OIDC issue
- I’d like to see an auto tag for mobile [need-to-look-at or something similar] where I can later de-tag it once I’ve looked at it … maybe this is a usecase for putting it in a list instead (if that’s the case, a default list instead would be nice) … dunno, I’ll play with it more to get an actual workflow with it
- In webui logs – right now, I don’t get much feedback on what it’s doing within the webui itself
- Shared lists between other users on the server would be VERY nice (I saw that this has been requested already).
You’re Welcome! An extra safety measure might be to do a clone on all your repos to ensure you’ve got a local copy of them all and absolute worst case you’ll have a couple of levels of backup plans, but up until pretty recently they were pretty much the same app just re-skinned, so, I think you’ll be fine.
For me, it was literally as easy as (this is basically my upgrade process too):
`
systemctl stop gitea.service
cd /home/git/
wget https://codeberg.org/forgejo/forgejo/releases/download/v8.0.3/forgejo-8.0.3-linux-amd64
mv forgejo-* gitea
chmod +x gitea
systemctl start gitea.service
`
I did it soon after the “split up” though, but it was super easy since they were still basically the same applications.
Make backups, update the above to use your paths and the new download link you should be good to go. Mine is in a VM , so I was willing to just YOLO and give it a go since I could easily roll back.
sorry for the formatting. on my phone and did my best!
Thats how I’ve done mine.
pfSense has an updater built in so that’s handled my home.mydomain.com entry for me for a long time and has handled updating duckdns too, even though it’s basically only a backup at this point.
If you’ve got a domain, no real reason to not just handle it yourself and avoid the headaches.

This issue that only I have is proof of bad programming practices being used in LubeLogger and I demand you treat me like the special snowflake I am!
The reddit post where he doesn’t get people on his side is pretty funny too!