GitHub uses 41 prefixes for web.
Short answer
web lists the addresses of github.com itself.
Prefixes
What changed
- 21 Oct 2026
+ 20.250.119.67/32
Allowlist formats
nginx (first 5 prefixes)
allow 140.82.112.0/20; allow 143.55.64.0/20; allow 172.182.252.130/32; allow 172.182.252.133/32; allow 185.199.108.0/22; deny all;
iptables (first 5 prefixes)
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.130/32 -j ACCEPT iptables -A INPUT -s 172.182.252.133/32 -j ACCEPT iptables -A INPUT -s 185.199.108.0/22 -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 6 Nov 2026
- GitHub documentation