GitHub uses 32 prefixes for copilot.
Short answer
copilot lists the addresses of GitHub Copilot services.
Prefixes
What changed
- 31 Oct 2026
+ 172.182.252.128/32 + 20.200.245.249/32 + 20.201.28.153/32 + 20.205.243.169/32 + 20.207.73.89/32 + 20.217.135.9/32 + 20.233.83.153/32 + 20.26.156.217/32 + 20.27.177.121/32 + 20.29.134.26/32 + 20.87.245.9/32 + 4.172.7.153/32 + 4.208.26.201/32 + 48.202.248.32/32 + 48.204.201.0/32
Allowlist formats
nginx (first 5 prefixes)
allow 13.107.5.93/32; allow 138.91.182.224/32; allow 140.82.112.0/20; allow 143.55.64.0/20; allow 172.182.252.128/32; deny all;
iptables (first 5 prefixes)
iptables -A INPUT -s 13.107.5.93/32 -j ACCEPT iptables -A INPUT -s 138.91.182.224/32 -j ACCEPT iptables -A INPUT -s 140.82.112.0/20 -j ACCEPT iptables -A INPUT -s 143.55.64.0/20 -j ACCEPT iptables -A INPUT -s 172.182.252.128/32 -j ACCEPT
Generate the full list from the CSV, and refresh it on a schedule: providers add and retire prefixes often.
Sources
- GitHub: published IP ranges · checked 5 Nov 2026
- GitHub documentation