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!
One additional step that has really improved my peace of mind is setting up IP block lists on my firewall. This will depend on what your goal is in allowing HTTP access, but in my case, I block all IPs and whitelist connections from our cell provider or our places of employment. There is zero chance that a legitimate connection will come from anywhere else. It has been months since I had a connection attemp in my Nginx logs that didn’t come from a member of my household.