• Resolved Dan Maby

    (@danmaby)


    Hi, we’d like to use this plugin along with Gravity Forms and their Zapier add-on. The Zapier add-on requires their IP ranges to be whitelisted, however, Zapier use the dynamic range of AWS’ us-east-1 region. Meaning there are almost 1,500 dynamic ranges for just the us-east-1 region.

    AWS provide a JSON file: https://ip-ranges.amazonaws.com/ip-ranges.json

    Any thoughts on how we implement this would be appreciated?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Helen Hou-Sandi

    (@helen)

    Core Lead Developer and 4.0, 4.7, and 5.6 Release Lead

    Hello – there are a couple of options here. For that length of a list, I think your best bet for the moment is to hook in on a scheduled cron job and grab the JSON and add them to RSA’s options programmatically. Looks like we need to update the readme here on .org but this is an example of adding/removing IPs programmatically: https://github.com/10up/restricted-site-access#how-can-i-programmatically-define-whitelisted-ips

    If that’s beyond your technical reach, or if storing that many IPs is an issue (I have not personally tested with that scale of stored options in this plugin so I cannot promise it will work well), let us know and we can take a look at more detailed code or other approaches.

    Thread Starter Dan Maby

    (@danmaby)

    Helen, thank you for the GitHub link. Looks like this is the solution I needed, appreciate your time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allow AWS’ us-east-1 region IPs’ is closed to new replies.