Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)B
Posts
7
Comments
267
Joined
3 yr. ago

  • Wasn't that + radio schedules the reason why songs are still for the most parts ≈3min long?

    And if we want to talk about longer songs... Alan Fitzpatrick - We Do What We Want ? As a more popular example.

  • No, the request would stop on Router B, and maintain all traffic, on the 10.0.0.* network it would not change subnets, or anything

    OK perfect. That was my hiccup. I thought it was going to go the roundabout way and slow the traffic down. I was willing to Put in numbers (masking them with the landing page buttons) if it meant I wouldn't have to go needlessly through the slower cable. If the router keeps everything inside of it's own subnet if he realizes he's talking to itself then it's perfect.

    Thanks for the help

  • I think I didn't explain myself the right way.

    Computers from inside of Router B will access the server via it's IP. Nginx will only serve an HTML file with the links for them. Basically acting as a bookmark page for the IP:port combos. While anything from Router A will receive a landing page that has the subdomains, that will be resolved by pihole (exposed to the machines on Router A as an open port on router b) and will make them pass through the proxy.

    So basically the DNS will only be used on machines from Router A, and the rules on nginx are just to give links to the reverse proxy if the machine is from router A (I.e. the connection is coming from 10.0.0.1 from the server's POV, or maybe the server name in the request. I'll have to mess with nginx), or the page with the raw IP of the server+ port of the service if coming from Router B.

    router A is Unfortunately junk from my ISP, and it doesn't allow me to change the DNS. So I'll just add Router B ( and thus, the pihole instance that's on the server) as a primary dns, and an external one as a secondary DNS as fallback.

    If you decide on doing the secondary local DNS on the server on Router B network, there is no need to loop back, as that DNS will maintain domain lookup and the requests on 10.0.0.x all internal to Router B network

    Wouldn't this link to the 192.168.0.y address of router B pass through router A, and loop back to router B, routing through the slower cable? Or is the router smart enough to realize he's just talking to itself and just cut out `router A from the traffic?

  • I think I'll do this with one modification. I'll make nginx serve the landing page with the subdomains when computers from router A try to access. ( by telling nginx to serve the page with the subdomains when contacted by 10.0.0.1) while I'll serve another landing page that bypasses the proxy, by giving the direct 10.0.0.* IP of the server with the port, for computers inside router B .

    Mostly since the Ethernet between router a and b is old. And limits transfers to 10Mbps. So I'd be handicapping computers inside router B by looping back. Especially since everything inside router B is supposed to be safe. And they'll be the ones transferring most of the data to it.

    Thanks for the breakdown. It genuinely helped in understanding the Daedalus-worthy path the connections need to take. I'll update the post with my final solution and config once I make it work.

  • I think that pihole would be the best option. But coming to think of it... I think that to make it work I'd need two instances of pihole. Since the server is basically straddling two nats. With the inner router port forwarding port 1403 from the server. Basically:

    To let me access the services both from the desktop and the laptop. I'd need to have two DNS resolvers, since for the laptop it needs to resolve to the 192.168.0.* address of the homelab router. While for the desktop it needs to resolve directly to the 10.0.0.* address of the server.

    Also, little question. If I do manage to set it up with subdomains. Will all the traffic still go through port 1403? Since the main reason I wanted to setup a proxy was to not turn the homelab's router into Swiss cheese.

    ... The rootCA idea though is pretty good... At least I won't have Firefox nagging me every time I try to access it.

    (specially with docker containers !)

    Already on it! I've made a custom skeleton container image using podman, that when started. It runs a shell script that I customize for each service, while another script gets called via podman exec for all of them by a cronjob to update them. Plus they are all connected to a podman network with manually assigned IPs to let them talk to eachother. Not how you're supposed to use containers. But hey, it works. Add to that a btrfs cluster, data set to single, metadata set to raid1. So I can lose a disk without losing all of the data. ( they are scrap drives. Storage is prohibitively expensive here) + transparent compression; + cronjob for scrub and decuplication.

    I manage with most of the server. But web stuff just locks me up. :'-)

  • I'll need to check. I doubt I'll be able to setup a DNS resolver. Since I can't risk the whole network going down if the DNS resolver fails. Plus the server will have limited exposure to the home net via the other router.

    Still. Thanks for the tips. I'll update the post with the solution once I figure it out.

  • If I remember correctly there was an option for that. I need to dig up the manual...

    Still, I think I'm going to need to change approach. Eventually one of the other services will bite me if I keep using subdirectories.

  • I'm sorry. I forgot to mention it in the post. But the server is not facing the outside. It's just behind an extra nat to keep my computers separate from the rest of the home. There's no domain name linking to it. I'm not sure if that impacts using subomains.

    The SSL certificates shouldn't be a problem since it's just a self signed certificate, I'm just using SSL as a peace of mind thing.

    I'm sorry if I'm not making sense. It's the first time I'm working with webservers. And I genuinely have no idea of what I'm doing. Hell. The whole project has basically been a baptism by fire, since it's my first proper server.

  • Huh. Good to know. Never really had the problem since i figured out how to do it manually. ( i swallow and while i'm swallowing i open my jaw. Not sure if it will work for others. But it doesn't require anything special. Not even having to use your hands to plug your nose or similar)

  • The only thing that comes to mind is sucking on candy to help with motion sickness. I've heard it once and i frankly doubt it works though.

  • And then there' also my "how tf can i be creative if i have 0 imagination?"

  • People

    Jump
  • Deleted

    Permanently Deleted

    Jump
  • Well... Considering that salt renders soil infertile... Not that far off frankly

  • Small remider than when injected, serotonin basically overdrives pain receptors. That's why it's in there. It won't make you happy. It will make you feel even more in hell. (I know it's a joke. But come on i couldn't resist)

  • Thing is. I have no clue how or if they reached america. I'm italian so i'm just going off of my experience with them. And how easily i found spare parts on the web for them. Not their availability in America.

  • Featured

    RTFM is Sage

    Jump
  • mankier saved my ass more times than i'm willing to admit on Barebones distros that came with no man. Especially with the command examples

  • I'm not sure how common they are in the US. But check if you can get your hands on a fiat panda/punto/500. Anything but the very latest models have manual options with at most an lcd for the radio. And that's it. And outside of italy there shouldn't be all the problems that accompany a model of car being that common.

  • Why do you need to hit me like this... Right now i'm fixing my dad's old telefunken hifi. I'm a lot younger than that generation. But my first taste of music was on that motherfucker with old cassettes and radio...

    Fuck how am i nostalgic of a time i only saw the aftermath of?