I have setup a firewall for a Droplet-A. (Droplet A is an API and Droplet-W is a website - both running in docker containers). Everything works well when I setup the firewall and allow all IP4s and IP6s. Now I want to limit access to Droplet-A only to allow traffic coming from Droplet-W. I remove the “All IPS” and instead add the ipv4, Private Ips and Reserved Ips of Droplet-W to the sources column of the Https/Tcp/443 incoming firewall entry.
Now all traffic gets blocked - including the traffic from Droplet-W (which means that the web gets no data) Any ideas what I might be doing wrong here or forgetting … ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
Is Droplet-W also attached to the firewall? If this is the case you would then need to also configure your Outbound Rules to allow the outbound traffic for those ports.
If this is not the case, what you could do is add your Droplet-W to the source field directly rather than specifying the IP address explicitly. You can do that by typing the name in the source field directly and then selecting the Droplet from the list.
Let me know how it goes!
Best,
Bobby