Question

Whitelist ip range

since 1st of June our employee aren’t able to access the application hosted on Digital Ocean we need to whitelist our ip ranges to able our employee to access the application

[9:02 AM] Malhotra, Akshay okay, now your next action is to contact Digital ocean IT team to whitelist those IP ranges o their network. SO that whenever , a user from SCJ wants to access the URL, they can access

[9:04 AM] Miglani, Sarthak Sao Paulo IV147.161.128.0/23


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @rsmacedo,

You can allow access to your Application from your Droplet. This is the correct way to do so.

If you are using UFW, you can allow the IP range to execute the following:

ufw allow from 147.161.128.0/23

If you are using IPtables, you can do:

iptables -A INPUT -s 147.161.128.0/23-j ACCEPT.
iptables -A OUTPUT -d 147.161.128.0/23 -j ACCEPT.

This should be enough for you to allow access from this IP range to your Droplet.