Hi all, I’m running a small website off of a raspberry pi in my house. I have opened ports 80 and 443 and connected my IP to a domain. I’m pretty confident in my security for my raspberry pi (no password ssh, fail2ban, nginx. Shoutout networkchuck.). However, I am wondering if by exposing my ports to the raspberry pi, I am also exposing those same ports to other devices in my home network, for example, my PC. I’m just a bit unsure if port forwarding to an internal IP would also expose other internal IP’s or if it only goes to the pi. If you are able to answer or have any other comments about my setup, I would appreciate your comment. Thanks!

  • pacology@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    You are probably going to be ok unless someone really wants to hack you. The LastPass hack that exposed passwords of millions of people started from an open port in the home network of one of their engineers.

    If you want to be somewhat safer, you could try something like the cloudflare tunnel thing to proxy your home network through their server.

    • SpaceMan9000@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Honestly depends on what he’s hosting… Services like shodan are constantly scanning the web and are trying to see what is actually running in the machine.

      If he’s serving something that’s vulnerable and has rce it won’t take too long for him to get automatically pwned.

      We’ve seen this with the hafnium Echange vulnerability and all known vulnerable public facing web apps that used log4j.

      Regarding the LastPass breach, the second part of the breach was using a very outdated version of Plex. Chances are high that his home machine was already hacked by other malicious actors.