Fedegenerate

joined 1 year ago
[–] [email protected] 9 points 1 day ago

That's a shame. TTeck pretty much built my Homelab.

[–] [email protected] 6 points 4 days ago

Oh, I just watched that episode of Serial Experiments Lain.

[–] [email protected] 11 points 4 days ago* (last edited 4 days ago)

Not that I have a solution but engoraging people to use "blocks" and "filters" is the way to go I think.

I'd like to create a homepage but Lemmy moves too slowly for that, so I do find myself on "all" a lot. So blocking users/communities/instances and filtering keywords are how I craft a positive experience here.

When EH was around I'd waste endless time trolling/downvoting them, which I now realise was time wasted. It didn't help me; made Lemmy more toxic; and gave bad actors the legitimacy and attention they want.

I think my comment in the poll was fairly comprehensive, so I'll leave it at that. Except to add good job LemmyNSFW admins you constantly handle controversy well. From instance bans, instance drama or this current downvote issue, no notes.

[–] [email protected] 7 points 4 days ago

You're not a train. You don't need to announce your departure.

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

https://imgflip.com/i/99s8ao

Meme asside. This "I'm miserable so everyone around me must be too" thing you've got going on is self centered at best. Buy some frozen peas and go feed som ducks or what ever you need to self actualise and come back when you're feeling better.

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

The cohort age 18-29 as a whole were under the national average. But men aged 18-29 we're just barely under the national average ~~while women were massively under the nation average.~~ edit although true it can't be inferred from this graph alone

[–] [email protected] 2 points 1 week ago

Constipation blues - Screamin' Jay Hawkins

A song about true pain.

[–] [email protected] 9 points 1 week ago

I think it's more a criticism of the Dems. They spent four years saying Trump is the death of America and now they're just going to hand it to him. There's two implications of that:

  1. Trump isn't the enemy they made him out to be.

  2. Or, they just don't care about American democracy.

A long criticism of Dems has been their refusal to treat Trump as the threat he is. He tried to perform a coup and what has happened? Some guy was accused of using fake money and was extra-judicially executed in the street, but perform a coup and life goes on.

[–] [email protected] 7 points 1 week ago

I did ten months ago. An apology from Pug would be nice, I doubt I get it though. I learned then that I am incapable of getting through to American liberals and moved on with my life.

Everything I saw since then just reaffirmed my position, can you imagine my horror when liberals on Lemmy were literally asking people to vote for evil?! What came over them to think that was a winning strategy.

[–] [email protected] 7 points 1 week ago

I thought the headline was not conveying the emphasise. "We're going to be ok" says member of the owning class.

[–] [email protected] 20 points 1 week ago (1 children)

I feel downvotes are fairly useless.

They're used as a disagree button. Ok but why do you disagree? Leave a reply and let's discuss. Gain saying has little value and that's all a downvote to disagree is.

They're used to report spam. Spam should be reported so I don't think that's a valid argument for them. Downvoting spam leaves it up, reporting spam gets it taken down. We have a better solution to spam than downvotes.

They are used by bad actors, with the removal of downvotes bad actors have to spend more effort in making a comment and it becomes far more obvious in who they are, report and block them.

Finally downvotes are a way to yuck someone's yum, I'm mindful of the instance we're on. I don't want our communities to become like Reddit where only one genital configuration and body type are allowed.

[–] [email protected] 1 points 1 week ago

My initial inception of this box was to have it request a static IP so I knew "box.ip". Then tape then tape some thing like this:

Box.ip Service1:port Service2:port ....

Onto the case. Then in NPM have it proxy requests to "box.ip:8096" to "tailscale.ip:8096". But alas, I couldn't figure it out. I could get 1 service to work but not multiple.

I couldn't ask someone to write the config for me, but if you're certain it's doable then I'll learn to write a config. Thank you for the offer. I'm guessing for each service I tell nginx to "listen" at "port" instead of only listening to ports 80,443 and 81.

MDNS seems like an interesting solution though, I'm going to read about that now actually, thank you for highlighting that solution to me. If I could get that working that would be ideal. I'll have to check if the expected devices are compatible but that would make everyone's life easier if I could just setup a cronjob on startup.

 

For legibility I split the post into: my current setup; the problem I'm trying to solve; the constraints for solving the problem; what I've tried and failed to do; and key questions.

When roasting me in the comments, go nuts, I'm not a complete beginner, but I wouldn't rank myself as an intermediate yet. My lab is almost entirely tteck scripts, and what isn't built by tteck are docker containers. My inexperience informs some of my decisions for example: I'm using nginxproxymanager because Nginx documentation is beyond me, I couldn't write a nginx.config and NPM makes reverse proxies accessible to me.

My Current setup

I have a Proxmox based home server running multiple services as LXCs (a servarr, jellyfin, immich, syncthing, paperless, etc. Locally my fiancée and I connect to our services. Using pihole-NginxProxyManager(NPM) @ "service.server" and that's good. Remotely we connect to key services over tailscale using tailscale's magic DNS @ "lxcname:port" and that works... fine. We each have a list of "service: address" and it's tolerable. Finally, my parents have a home server, that I manage, it is Debian based with much the same services running all in Docker (I need to move it to Podman, but I got shit to do). We run each others' off-site backup over tailscale-syncthing and that seems good. But, our media and photos are our own ecosystems.

The Problem

I would like to give someone (Bob) a box (a Pi, a minipc, a whatever). The sole function of this box is to act as a gateway for Bob's devices to connect to key LXCs on my tailnet. Thus Bob can enjoy my legally obtained media and back up their photos.

The constraints

These are in order of importance, I would be giving ground from the bottom up. The top two are non negotiable though.

A VPS has low to zero WAF. Otherwise I would have followed the well trodden ground.

Failsafe. If the box dies bob can't access jellyfin until I can be arsed to fix it. Otherwise, they experience no other inconvenience.

No requirement to install tailscale on Bob's devices. Some devices aren't compatible with tailscale: Amazon fire stick. A different bob does't want to install a VPN on their phone. Some devices I don't trust to be up to date and secure, I don't want them on my tailnet... I have no idea if the one degree of separation is any more secure, but it gives me the willies.

I'm pretty sure I can solve this using pihole-nginx-tailscale with my skillset. But then I have to get into bob's router, and maybe bob might not like that. If I could just give them a preconfigured box that would be ideal. They would have pretty addresses though.

I don't currently have a domain, I do plan to get one. I just don't currently have one.

My attempts and failures to solve the problem.

I've built a little VM to act as a box (box), it requests a static IP. On it I installed Mint (production would probably be DietPi or Debian) Tailscale,Docker (bare metal) and NPM as a container. In NPM I set a proxy host 192.168.box.IP to forward to 100.jellyfin.tailscale.IP:8096. I tested it by going to box.IP and jellyfin works. Next up Jellyseerr... I can't make another proxy host with the same domain name for obvious reasons.

I tried "box.IP:8096" as a domain name and NPM rejected it. I tried "box.IP/jellyfin" and NPM rejected that too (I'll try Locations in a bit). I tried both "service.box.IP" and "box.IP.service" and I'd obviously need to set up DNS for that. Look, I'm an idiot, I make no apologies. I know I can solve it by getting into their router, setting Pihole as their DNS, and going that route.

Next I tried Locations. The required hostname and port I set up as jellyfin.lxc.tailnet.IP:8096 and I set /jellyseerr to go to jellyseerr.lxc.tailnet.IP and immich set up the same way. Then I tested the services. Jellyfin works. Jellyseerr connects then immediately rewrites the URL from "box.IP/jellyseerr" to "box.IP/login" and then hangs. Immich does much the same thing. In desperation I asked chatGPT... the less said about that the better. Just know I've been at this a while.

Here's where I'm at: I have two Google terms left to learn about in an attempt to solve this. The first is "IP tables" the second is "tailscale subnet routers" and I have effort left to learn about one of them.

During this process I learned I could solve this problem thusly: give Bob a box. On this box is a number of virtual machines(vm). Each vm is dedicated to a single service, and what the fuck is that for a solution?! It would satisfy my all of my constraints though, its just ugly.

Key questions

Is my problem solvable by just giving someone a Pi with the setup pre-installed? If not I'll go the pihole-npm-tailnet and be happy. Bob'll connect to "service.box" and it'll proxy to "service.lxc.tailnet.IP".

Assuming I can give them a box. Is nginx the way forward? Should I be learning /Locations configs to stop jellyseerr's rewrite request. Forcing it to go to "box.IP/jellyseerr/login". Or, is there some other Google term I should be learning about.

Asssuming I can give them a box, and nginx alone is not useful to me. Is it subnet routers I should be learning about? They seem like a promising solution, but I'll need to learn how the addressing works... Or how any of it works... IP tables seem like another solution on the face of it. But both I don't know where to send bob without doing local DNS/CNAME shenanigans

Finally assuming I'm completely in the weeds and hopelessly lost... What is it I should I be learning about? A VPS I guess... There's a reason everyone is going that route., Documentation on this "box" concept isn't readily findable for a reason I imagine.

 

I set up an *arr stack and made it work, and now I'm trying to make it safe - the objectivly correct order.

I installed uncomplicated firewall on the system to pretend to protect myself, and opened ports as and when I needed them.

So I'm in mind to fix my firewall rules and my question is this: Given there's a more sensible ufw rule set what is it, I have looked online I couldn't find any answers? Either "limit 8080", "limit 9696", "limit ..." etc. or "open". Or " allow 192.168.0.0/16" would I have to allow my docker's subnet as well?

To head off any "why didn't you ?" it's because I'm dumb. Cheers in advance.

view more: next ›