I’ve been a Software Engineering Student for 2 years now. I understand networks and whatnot at a theoretical level to some degree.

I’ve developed applications and hosted them through docker on Google Cloud for school projects.

I’ve tinkered with my router, port forwarded video game servers and hosted Discord bots for a few years (familiar with Websockets and IP/NAT/WAN and whatnot)

Yet I’ve been trying to improve my setup now that my old laptop has become my homelab and everything I try to do is so daunting.

Reverse proxy, VPN, Cloudfare bullshit, and so many more things get thrown around so much in this sub and other resources, yet I can barely find info on HOW to set up this things. Most blogs and articles I find are about what they are which I already know. And the few that actually explain how to set it up are just throwing so many more concepts at me that I can’t keep up.

Why is self-hosting so daunting? I feel like even though I understand how many of these things work I can’t get anything actually running!

  • offspec@lemmy.nicknakin.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    For VPN home labbing you should check out wireguard, it’s stupid simple and very powerful. Reverse proxy stuff I handle through nginx, mostly because I’m using it for web hosting anyways and I’m comfortable with the workflow. I don’t bother with cloudflare much because I host a jellyfin instance and I believe that’s against their TOS, but just take it one step at a time and you’ll figure it out in no time.

  • Salty-Masterpiece-31@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Part of working with tech is knowing what to search for und using the right keywords. If you could give an example what guide / information you are unable to find, someone could give you an example how to search for it. I personally know a few junior devs and junior devops which use llama2 / chatgpt since they dont know how to search for it or read the docs.

    • Ieris19@alien.topOPB
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 months ago

      I actually hate GPT, dislike it’s answers and find myself knowing better than it most times.

      I’ve been trying to setup a DNS server to create my own domains internally within my VPN but I keep finding info on how DNS servers work, and how to make a records on registrars, but nothing on what I actually need to install and run to have my own DNS for example. Same thing goes for many other services, but that’s the one bugging me for the longest time because it should be so simple.

      I’ve found plenty of tutorials on how to make a cache DNS, just not an authoritative name server btw, and I’ve searched for both DNS and name server to no avail. If it was Linux I’d write some custom rules in my hostfiles and be done with it, but it’s so much harder to do on Windows and that’s my daily use OS for now…

        • Ieris19@alien.topOPB
          link
          fedilink
          English
          arrow-up
          0
          ·
          11 months ago

          For me, I have that as the 4th result, after some Reddit and IBM which probably would’ve discouraged me from continuing my search. I’d have to read on it.

          Also, TIL PiHole doesn’t necessarily need to run on a Raspberry Pi. I guess assumptions really do come back to bite me in the ass haha

          • revereddesecration@alien.topB
            link
            fedilink
            English
            arrow-up
            0
            ·
            11 months ago

            Pi runs Raspbian which is just Debian with customisation applied. So of course it can run elsewhere. You don’t know as much as you think you do perhaps 😉

            • Ieris19@alien.topOPB
              link
              fedilink
              English
              arrow-up
              0
              ·
              11 months ago

              I seriously thought it was a product, rather than software tbf. The name always sounded so “corporate” I never considered it.

              I definitely know more about the theory than the practice. I’m clueless as to what my options even are so I can’t argue with that.

              But I did know about the Linux “inheritance” of distros if you wanna call it that, and I’m fully aware of what that entails.

              Just honestly didn’t look at it twice cause I thought “there must be an FOSS option” without realizing what PiHole really is. Just a case of prejudice biting me in the ass I guess.

                • Ieris19@alien.topOPB
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  11 months ago

                  I’ve read that repo a million times! My self-hosting needs are more esoteric and I mostly play around with it. I’ve no need for media services or 90% of what that repo offers yet!

                  I mostly want to end up self-hosting my own apps, but I need some foundational knowledge

  • FuriousRageSE@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Most blogs and articles I find are about what they are which I already know.

    Exactly… I neither want “what z is” nor all the history behind z, the Z inventors life, his grand parents lives etc. I just want a solution to the problem im having…

    • Ieris19@alien.topOPB
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 months ago

      Honestly, I get they’re trying to be educational for beginners way more clueless than me. But after two years of an IT degree I know some stuff, and the sheer amount of internet text I’ve read just to find absolutely nothing new and no solution even though the title is exactly my problem is unreal

  • RobertBobert06@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Because that means nothing?

    “Why are computers hard”

    “Why is car hard”

    Maybe figure out what you’re trying to do? “I can’t figure out VPNs” is a pretty weird starting point considering you can just google VPN and click literally anything

  • DeadOfKnight@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    If you want security and ease of use for remote access, just use Tailscale. Twingate if you share access with others.

  • unidentified_sp@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    I’d just install Docker and add a CloudFlare Tunnel to securely host your stuff. No need to open any ports, your WAN IP remains hidden and you have the benefits of DDoS protection. It’s free as well; all you need is a domain name for which you can configure the nameservers.

  • lestrenched@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Do you have a purpose to host whatever you happened to name here?

    There is a reason to host reverse-proxies, however, one can do without them in a self-hosted environments. First, one needs to understand the point behind reverse-proxies (this is an example btw, you might very well know the how and why behind them), and only then would the instructions to set it up start to make sense.

    • Ieris19@alien.topOPB
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 months ago

      I don’t have a need but I do have a goal for the things I want to setup.

      I got downvoted to oblivion for saying I didn’t even find what kind of software I could use to make an internal authoritative DNS service for example, where I want to create a custom internal TLD for my VPN.

      But apparently people took offense I’d never heard of bind and assumed PiHole was proprietary…

  • NSMike@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Because most people who develop these things are, frankly, terrible at good documentation, or understanding the end-user perspective.

    There’s also a downward spiral effect when you start getting into these things, because lots of them require dependencies, or ask you to do things but don’t explain why, and you’re just left wondering why you added that line to a config file somewhere, but if you don’t put it there, nothing works.

    A vertical slice of the amount of knowledge you need passes through so many different disciplines, operating systems, GUIs, and programming languages that it would look like a Milhojas cake.

    I’ve been a technical writer in the software industry for 17 years. The number one challenge in my work is extracting all of the information I need to write good documentation from the experts elsewhere in my company.

  • mynumberistwentynine@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    I can barely find info on HOW to set up this things. Most blogs and articles I find are about what they are which I already know. And the few that actually explain how to set it up are just throwing so many more concepts at me that I can’t keep up.

    This is big part of why I, even as an IT professional, don’t do much homelabbing or selfhosting. So often I’ll be scrolling through these subs and see something someone has done and I’ll decide I want to do that too, but so often I end up abandoning whatever it is because doing x requires googling for y and z because without y and z, x doesn’t work. And after a day of dealing with issues and tinkering on work stuff, do I want to spend more time troubleshooting? Often not.

  • odaman8213@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Depends on what you’re trying to do… Plex/Jellyfin server on a Pi with Zerotier for remote access? Super easy and you can get running in 20 minutes with zero previous knowledge.

    Self hosted email and reverse proxy with auto SSL and best security practices? Well that’s a rabbit hole…

  • junialter@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    I strongly suggest to not only read articles on the internet but get decent books and read them carefully. It will fill in plenty of gaps you have now and in a blink of an eye self-hosting will become a smooth and fun experience.

    I have been self hosting for like 20 years and I must say it has never been easier to bring up a service and make it secure as well.

    Good network understanding is key, forget about IPv4 it’s dead. If you engineer new stuff, concentrate on IPv6. Also a good book or two about Linux, it’s the platform to go for the next decade. If you’re still hungry dive into containers and container orchestration.

    Most importantly, keep experimenting. I’d say 80%+ of my empirical data comes from my own experience.

  • throwaway234f32423df@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Use a decent VPS instead of trying to host off a residential internet connection behind 47 layers of NAT and you don’t have to worry about 90% of that stuff

    i.e. use the right tool for the job

  • beje_ro@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    I would say the opposite: self hosting nowadays is very easy. Is the multitude of options and configuration possibilities that is daunting. We want too much and this increases complexity.

  • edthesmokebeard@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Begging the question.

    Also, “Reverse proxy, VPN, Cloudfare bullshit” - you don’t need these things.

    • Ieris19@alien.topOPB
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 months ago

      That’s basically the problem, yet almost everywhere people make these look so essential and necessary