By dmm2019
I use two droplets with Docker. My first droplet A is my frontend app and it use nginx as proxy. My second droplet B is my backend app and it use DOcker. Now, i want to restrict my backend droplet by using DigitalOcean firewall but i cannot. I put the IP address of my droplet frontend in firewall backend but it does not work. how to do it please?
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!
@dmm2019 have you considered opening the firewall on your private IP’s and then using that for the two droplets to talk together, That way you incur no traffic costs and get to enjoy less latency. Private IP’s are limited to just your account, in the past, you could connect to different users with private IPs but now they are secure :)
Regards
Simon SnapShooter
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.