Hey, I was thinking about getting a VPS and hosting my own single user Lemmy instance. I am trying to think of other things to host. I already have some old hardware running unRAID with Plex, the *arrs, Kavita and home assistant. This is pushing my hardware to the limit but I still want to mess around with some self hosted things. Is there anything you would rather host on a rented server as opposed to a server sitting at your home?

  • Luca@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 years ago

    I use a VPS as a homelab gateway of sorts from the outside.

    Essentially, the VPS runs a Wireguard server that I connect to on my OPNSense Router. The VPS then reverse-proxies all incoming traffic through the tunnel to my homelab. All my DNS entries point to the VPS’s IP. This pretty much gives me a static IP, hides my real IP, and lets me do some light caching on the VPS. Kind of like a DIY cloudflare.

    I also run Uptime Kuma on the VPS, since it will continue to work if my local network is down.

    • Count Zero@lemmy.villa-straylight.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      I do the same thing, except with openvpn. I need to upgrade it to wireguard. I ended up just masquerading the traffic opnsense router, but now everything looks like it is coming from the internal openvpn ip address.

      How are you identifying traffic that needs to go out the vpn, vs traffic that doesn’t, if you don’t mind sharing?

    • MigratingtoLemmy@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Indeed, this is perfect. No need for something like Cloudflare proxying in this case.

      Which reverse-proxy do you use?