Question

Adding IPv6 to MongoDB cluster's trusted sourcess (IP Binding)

This may seems such a trivial question but it is possible to edit the MongoDB’s configuration file and bind multiple IP/range in order to restrict access to the database. (https://docs.mongodb.com/manual/core/security-mongodb-configuration/)

This option is available on DigitalOcean’s dashboard for “Managed MongoDB Database” but it only allows IPv4. Recently I was trying to add an IPv6 to the list of “trusted sources” but I got an error saying only IPv4 is allowed.

Since we do not have access to the database cluster itself and can not configure it manually, does DO offer an option to allow IPv6 for trusted sources in the dashboard?

I searched a lot through documentation but could not find any clue.


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.

Accepted Answer

Hi @bbkkbbkk,

Restricting access to specific ports or IPv6 addresses is not currently supported with DO Managed database.

As we continue to work on improving our products and services, we encourage you to share your thoughts, ideas, or feedback you have at https://ideas.digitalocean.com/

This will help us to better prioritize features that you feel need more attention.

Regards, Rajkishore

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.