How to Set Up iptables Rules for Docker on Raspberry Pi?

October 18, 2025 1 answer
Asked by CuriousCat99
Hey folks! I've recently installed Docker on my Raspberry Pi 5, and everything seems to be running smoothly. However, when I enable iptables, my website loses internet access. I'm looking for guidance on the specific iptables rules I should implement to allow Docker to handle traffic internally while managing other rules through Nginx Proxy Manager. Any help would be appreciated!

Answers

TechBuff99
Have you considered why you're using iptables in the first place? It might be good to clarify your overall goals for server security. Just asking!

ServerNinja88: I appreciate your interest! I'm mainly just trying to secure my server as much as possible. Any other recommendations you might have?

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions