you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 4 months ago* (last edited 3 months ago) (6 children)

The selfhosted guys are correct with that. Of course its not a magic pill, but it can help to minimize the attack surface immensely with little effort.

Edit: while open ports can easily be enumerated, a reverse proxy often requires knowledge of the right server name. In tls1.3 those are not transferred in clear. Depending on your threat scenario you might want to consider doh/dot etc.

Reverse proxies can require client certs, which lift the security benefit to something like a vpn. Even basic auth adds a high threshold to attackers and is simple even for random users to work with. All this is functionality many services don't offer natively - as they assume a reverse proxy anyway I guess.

  • source
  • parent
  • hideshow 6 child comments
  • [+] -12 points 4 months ago* (last edited 4 months ago) (5 children)

    See what I mean?

    As if a proxy blindly passing traffic directly to a backend server "reduces attack surface" in any meaningful way. 🙄

    Edit: Guy edits his post with a bunch of stuff and assumes I've read it later. I can't eyeroll enough...

    1. You've increased your "attack surface" by adding a second application to the stack. Proxies aren't magic, they are also targets.
    2. Sure - you can do those things on a proxy. How many people here are? And why are those things never suggested when people here say "use a reverse proxy"? Because they think the proxy is the security.
  • source
  • parent
  • hideshow 5 child comments
  • [–] 4 points 4 months ago (4 children)

    Did you just add 'blindly passing traffic' to your statement? Did you read my comment about can help?

    Move on, joker.

  • source
  • parent
  • hideshow 4 child comments
  • [+] -7 points 4 months ago* (3 children)

    Sorry - which part of your comment added anything of value? "can help to minimize the attack surface"? 99% of the time a proxy just passes traffic through. Unless you're talking about a WAF which is a) a different thing and b) NOT what any home gamers are talking about when they recommend nginx, traefik, etc. to newbs.

  • source
  • parent
  • hideshow 3 child comments