Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AdroitAdorKhan/413d618be5a5d1c8ce61469a75f2f76d to your computer and use it in GitHub Desktop.
Save AdroitAdorKhan/413d618be5a5d1c8ce61469a75f2f76d to your computer and use it in GitHub Desktop.
Get IP ranges of AWS Global Accelerator. You can use this list to route Valorant and other games that use AWS Global Accelerator.

Download AWS IP Ranges JSON

wget https://ip-ranges.amazonaws.com/ip-ranges.json

Get IPv4 Ranges

grep -i -B 1 '"region": "GLOBAL",' ip-ranges.json | grep '"ip_prefix":' | awk -F'"' '{print $4}' > AWS-Global-v4.txt

Get IPv6 Ranges

grep -i -B 1 '"region": "GLOBAL",' ip-ranges.json | grep '"ipv6_prefix":' | awk -F'"' '{print $4}' > AWS-Global-v6.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment