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!

  • @[email protected]
    link
    fedilink
    English
    31 year ago

    I’ve been considering doing the same thing, but i’m not sure there’s much actual benefit over feeling like there’s more separation, because if someone accesses the vps, they get direct access into your server at home. What’s your opinion?

    • @ChrislyBear
      link
      English
      11 year ago

      Yes, definitely. If someone breaches the VPS, I’ve lost. That’s why it’s rather locked down using strict firewall rules, pubkey auth, fail2ban, etc.

      No matter what you expose to the Internet, you’re accepting a risk.

      If I had to start over, I’d probably set up some form of cloud infrastructure with maybe Cloudflare for access control and security or whatever. My system started when I didn’t have a lot of funds. So everything is kind of cobbled together.

      The VPS is/was for hosting a few game servers and now I’m too lazy to migrate away, haha.

      At least everything is based on configs that I keep in Git repositories. But I digress (again).