In my home network, I’m currently hosting a public facing service and a number of private services (on their own subdomain resolved on my local DNS), all behind a reverse proxy acting as a “bouncer” that serves the public service on a subdomain on a port forward.

I am in the process of moving the network behind a hardware firewall and separating the network out and would like to move the reverse proxy into its own VLAN (DMZ). My initial plan was to host reverse proxy + authentication service in a VM in the DMZ, with firewall allow rules only port 80 to the services on my LAN and everything else blocked.

On closer look, this now seems like a single point of failure that could expose private services if something goes wrong with the reverse proxy. Alternatively, I could have a reverse proxy in the DMZ only for the public service and another reverse proxy on the LAN for internal services.

What is everyone doing in this situation? What are best practices? Thanks a bunch, as always!

  • tofubl@discuss.tchncs.deOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 months ago

    This is exactly the type of answer I was looking for. Thanks a bunch.

    So but in that way, having a proxy on the LAN that knows about internal services, and another proxy that is exposed publicly but is only aware of public services does help by reducing firewall rule complexity. Would you say that statement is correct?

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 months ago

      Oh yes, if they’re completely separate and the internal proxy can’t be reached from port forward that’s fine.

      I was stuck thinking about two chained proxies for some reason.

      • tofubl@discuss.tchncs.deOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        I never specified, I think, and probably wasn’t too clear on it myself. Thanks for your insights, I’ll try to take them to my configuration now.