Hi,

I want to make some of my services (like Nextcloud, Immich, Komga, Jellyfin and FreshRSS for example) on my home server easier accessible from remote. For that I want to use a VPS where I install Nginx and Wireguard on it and establish a VPN connection between it and my homeserver. So far so good.

My first question: For the services that I don’t want to expose for remote access over that setup, can I just keep my Nginx instance that I have running now for these services. For example my budgeting service is available under finance.example.com as long as I’m in the same network as my home server right now. Would that still be possible when I have 2 Nginx instances running (one on the VPS and one on the home server directly) or would I need to configure it differently for that to work?

My second question:
Do I need to install Fail2Ban on my VPS or can I also install it on my homeserver?

  • spaghettiwestern@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 hours ago

    When I looked into this configuration a few years ago the security improvements seemed minimal. Adding yet another provider to the mix plus the additional risk of a server misconfiguration didn’t seem to be worth the trouble unless I was dealing with CGNAT.

    Besides hiding endpoints from your ISP and exposing them to the VPS, how much security does this really add?

    • Tywèle@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 hours ago

      It’s not about security for me. I just don’t want to have the hassle for other people to have to install and configure VPN to my server and I can’t and don’t want to expose ports 80 and 443 (I can only open like ports 21000-22000 in my router and I don’t have a IPv4 address)