0

I am using a shared ip address which keeps changing. every time I search from real ip checked it continuously giving me different than other websites. But first 7 digits keeps still. Last 3 digits becomes different than other one. Now, Is there any way I can use this IP address in my mongoDB whitelist?

Ahmed Tareque
  • 161
  • 5
  • 17

1 Answers1

1

Yes, you can use a CIDR-notated range of IP addresses. https://docs.atlas.mongodb.com/security-whitelist/ provides a few more details.

"The Internet provides online tools for converting a range of IP addresses to CIDR, such as http://www.ipaddressguide.com/cidr."

Lauren Schaefer
  • 696
  • 4
  • 9
  • I didn't try that but does it work for CIDR-notated range of IP addresses? Have you tried it? – Ahmed Tareque Mar 10 '20 at 05:50
  • 1
    The MongoDB documentation states: "Atlas only allows client connections to the cluster from entries in the project’s whitelist. Each entry is either a single IP address or a CIDR-notated range of addresses. " – Lauren Schaefer Mar 10 '20 at 12:17