Out of curiosity, what switch are you using for your setup?
Last time I looked, I struggled to find any brand of “home tier” router / switch that supported things like configuring vlans, etc.
I made LASIM! https://github.com/CMahaff/lasim
I currently have 3 accounts (big shock):
Out of curiosity, what switch are you using for your setup?
Last time I looked, I struggled to find any brand of “home tier” router / switch that supported things like configuring vlans, etc.
Maybe I am not thinking of the access control capability of VLANs correctly (I am thinking in terms of port based iptables: port X has only incoming+established and no outgoing for example).
I think of it like this: grouping several physical switch ports together into a private network, effectively like each group of ports is it’s own isolated switch. I assume there are routers which allows you to assign vlans to different Wi-Fi access points as well, so it doesn’t need to be literally physical.
Obviously the benefits of vlans over something actually physical is that you can have as many as you like, and there are ways to trunk the data if one client needs access to multiple vlans at once.
In your setup, you may or may not benefit, organizationally. Obviously other commenters have pointed out some of the security benefits. If you were using vlans I think you’d have at a minimum a private and public vlan, separating out the items that don’t need Internet access from the Internet at all. Your server would probably need access to both vlans in that scenario. But certainly as you say, you can probably accomplish a lot of this without vlans, if you can aggressively setup your firewall rules. The benefit of vlans is you would only really need to setup firewall rules on whatever vlan(s) have Internet access.
I ran into the same thing. I’ve always just worked around it, but I believe I did find the solution at one point (can’t find the link now).
But if I am remembering right, I believe you need to manually create a bridge between the two networks - by default it isolates the VMs from TrueNAS itself for security reasons.
Sorry I can’t link the exact fix right now, but hopefully this will help you Google the post I found on the subject.
I made one such tool!
https://github.com/CMahaff/lasim
I know there’s also a python script out there and a new Android app that has active syncing. I don’t have links handy to those on mobile.
Excellent work by the way, much better solution than my own :)
Didn’t get a chance to look at how your app works under the hood, but for LASIM I look up the community by name to get the ID and then call thr subscribe API. The former did seem to trigger the Lemmy instance to “learn” about the community, but it takes awhile, and there is no way to know when it has learned it other than to retry looking it up a few times.
You should see if you can use GitHub Actions to automate builds - they should be unlimited / free for public repos.
There is also a community for finding / announcing new communities:
I’ll throw my tool out there as well: https://github.com/CMahaff/lasim
Unfortunately, you need access to the old server to download the list of communities and blocks - but that’s true of all tools that do this.
Everyone is saying it’s missing from the API, but I don’t think that can be the case since the regular Lemmy UI uses the API - so far as I know it isn’t doing anything custom compared to apps / other frontends.
You can see all the API endpoints here: https://github.com/LemmyNet/lemmy/blob/main/src/api_routes_http.rs
That said, obviously developers have to add those features to their front-ends, and could be waiting for whatever Lemmy API library they use to support certain calls.
Good news! It is going to be an option. Feature was merged into the back-end already - just need someone to update the UI.
My understanding is that all free .ml instances got removed as well - could be a sizeable chunk.
FYI I made a little tool for migrating / backing up your Lemmy subscriptions, blocks, profile settings, etc.
Nothing to be done for fmhy now that it’s gone, but for the future, it might help to have a backup.
I posted this on another thread about this, but I’ll repost it here:
I have made a tool that can backup / copy your account settings, subscriptions, and blocks to a new account: https://github.com/CMahaff/lasim
There are others out there as well if you look.
Obviously the loss of .ml communities would still be catastrophic to Lemmy, but at least your new account won’t start from ground-zero, and you can be less effected by downtime by having 2 accounts with the same subscriptions.
I wrote a tool that will help: https://github.com/CMahaff/lasim
Let’s you copy your subs, blocks, and profile settings between Lemmy accounts.
You can run it as many times as you like and will keep adding new things.
At the minute it never removes things though, so you’d have to unsubscribe multiple places.
I made a tool that does this until we can get something baked into Lemmy itself: https://github.com/CMahaff/lasim
There are a handful of other options out there too if ya search for em. Mine backs up / copies subscriptions, blocks, and a handful of profile settings.
deleted by creator
I made a tool that downloads and/or migrates your account settings: https://github.com/CMahaff/lasim
Not as good as something built into Lemmy, but it’s a good stop-gap in the meantime.
I have a fix! Merging the branch and dropping a new release shortly. Thanks for reporting this!
Out of curiosity, what content are you looking for? Discovery on Lemmy can be a problem, but sometimes the communities are there and even active, just buried.
But may I also suggest searching by Top Day/12-hour/6-hour to see the most active posts. Lemmy’s scaled algorithm still doesn’t get it quite right IMO.