Whitelist ip range

Posted June 10, 2021 619 views
Customer Success

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

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.

Submit an Answer
1 answer

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

If you are using IPtables, you can do:

iptables -A INPUT -s ACCEPT.
iptables -A OUTPUT -d -j ACCEPT.

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