GitHub IP addresses and domains: a list for routers and VPN
GitHub has 3 IPv4 and 2 IPv6 networks, plus 60 domains. They are below; the tool gives the list in the format of your router or client.
- IPv4
- 3
- IPv6
- 2
- Domains
- 60
- AS
- 36459
What is in the GitHub list
The networks below are the main site, git over HTTPS and SSH, and the API. Pages, raw.githubusercontent.com and release downloads are in 185.199.108.0/22, which Fastly announces: it isn't in GitHub's AS, so add it by hand or use the domains.
Artifacts and caches of Actions sit in Azure and big files in Amazon S3: the long exact names in the list are those buckets. GitHub publishes all its addresses by service at api.github.com/meta.
Networks 5
The networks are announced by AS36459. They change rarely, but they do: check again every month or two.
- 140.82.112.0/20
- 143.55.64.0/20
- 192.30.252.0/22
- 2620:112:3000::/44
- 2a0a:a440::/29
Domains 31
A domain here means the name and all its subdomains. Exact names are only themselves.
- atom.io
- dependabot.com
- gh.io
- ghcr.io
- ghe.com
- git.io
- github.ai
- github.blog
- github.career
- github.com
- github.community
- github.dev
- github.io
- githubapp.com
- githubassets.com
- githubcopilot.com
- githubhackathon.com
- githubnext.com
- githubpreview.dev
- githubstatus.com
- githubsupport.com
- githubuniverse.com
- githubusercontent.com
- myoctocat.com
- npm.community
- npmjs.com
- npmjs.org
- octocaptcha.com
- opensource.guide
- repo.new
- thegithubshop.com
Exact names 29
- copilotprodattachments.blob.core.windows.net
- github-api.arkoselabs.com
- github-cloud.s3.amazonaws.com
- github-production-release-asset-2e65be.s3.amazonaws.com
- github-production-repository-file-5c1aeb.s3.amazonaws.com
- github-production-repository-image-32fea6.s3.amazonaws.com
- github-production-upload-manifest-file-7fdce7.s3.amazonaws.com
- github-production-user-asset-6210df.s3.amazonaws.com
- production-copilot-host-westus.webpubsub.azure.com
- productionresultssa0.blob.core.windows.net
- productionresultssa1.blob.core.windows.net
- productionresultssa10.blob.core.windows.net
- productionresultssa11.blob.core.windows.net
- productionresultssa12.blob.core.windows.net
- productionresultssa13.blob.core.windows.net
- productionresultssa14.blob.core.windows.net
- productionresultssa15.blob.core.windows.net
- productionresultssa16.blob.core.windows.net
- productionresultssa17.blob.core.windows.net
- productionresultssa18.blob.core.windows.net
- productionresultssa19.blob.core.windows.net
- productionresultssa2.blob.core.windows.net
- productionresultssa3.blob.core.windows.net
- productionresultssa4.blob.core.windows.net
- productionresultssa5.blob.core.windows.net
- productionresultssa6.blob.core.windows.net
- productionresultssa7.blob.core.windows.net
- productionresultssa8.blob.core.windows.net
- productionresultssa9.blob.core.windows.net
Files for scripts and routers
Addresses that don't change. Networks are refreshed every day, domains together with this page; the day of the data is in the Last-Modified header.
- CIDRhttps://velivpn.com/lists/github.txt
- CIDR, IPv4https://velivpn.com/lists/github-ipv4.txt
- CIDR, IPv6https://velivpn.com/lists/github-ipv6.txt
- Domainshttps://velivpn.com/lists/github-domains.txt
- MikroTikhttps://velivpn.com/lists/github.rsc
- nftableshttps://velivpn.com/lists/github.nft
- ipsethttps://velivpn.com/lists/github.ipset
- AmneziaVPNhttps://velivpn.com/lists/github.json
- CSVhttps://velivpn.com/lists/github.csv
MikroTik: fetch and import
/tool fetch url="https://velivpn.com/lists/github.rsc" /import github.rsc
Ready for your router or client
The first lines in each format. The tool gives the whole list, merges neighbouring networks and says what a format can't hold.
MikroTik
# github (2026-11-30), velivpn.com/tools/ip-list/ /ip firewall address-list add list=github address=140.82.112.0/20 add list=github address=143.55.64.0/20 add list=github address=192.30.252.0/22 /ipv6 firewall address-list add list=github address=2620:112:3000::/44 add list=github address=2a0a:a440::/29 /ip dns static add name=atom.io type=FWD match-subdomain=yes address-list=github add name=dependabot.com type=FWD match-subdomain=yes address-list=github add name=gh.io type=FWD match-subdomain=yes address-list=github add name=ghcr.io type=FWD match-subdomain=yes address-list=github add name=ghe.com type=FWD match-subdomain=yes address-list=github …
Keenetic
ip route 140.82.112.0 255.255.240.0 Wireguard0 auto ip route 143.55.64.0 255.255.240.0 Wireguard0 auto ip route 192.30.252.0 255.255.252.0 Wireguard0 auto ipv6 route 2620:112:3000::/44 Wireguard0 ipv6 route 2a0a:a440::/29 Wireguard0 object-group fqdn github include atom.io object-group fqdn github include copilotprodattachments.blob.core.windows.net object-group fqdn github include dependabot.com object-group fqdn github include gh.io object-group fqdn github include ghcr.io object-group fqdn github include ghe.com object-group fqdn github include git.io object-group fqdn github include github-api.arkoselabs.com object-group fqdn github include github-cloud.s3.amazonaws.com …
AmneziaVPN
[
{"hostname":"140.82.112.0/20","ip":""},
{"hostname":"143.55.64.0/20","ip":""},
{"hostname":"192.30.252.0/22","ip":""},
{"hostname":"atom.io","ip":""},
{"hostname":"copilotprodattachments.blob.core.windows.net","ip":""},
{"hostname":"dependabot.com","ip":""},
{"hostname":"gh.io","ip":""},
{"hostname":"ghcr.io","ip":""},
{"hostname":"ghe.com","ip":""},
{"hostname":"git.io","ip":""},
{"hostname":"github-api.arkoselabs.com","ip":""},
{"hostname":"github-cloud.s3.amazonaws.com","ip":""},
{"hostname":"github-production-release-asset-2e65be.s3.amazonaws.com","ip":""},
…WireGuard AllowedIPs
AllowedIPs = 140.82.112.0/20, 143.55.64.0/20, 192.30.252.0/22, 2620:112:3000::/44, 2a0a:a440::/29
In Veli the same is set by sites and apps, without lists: what goes through the VPN and what goes direct. There is a package for OpenWrt routers. Free, no sign-up.
Download VeliFAQ
What IP addresses does GitHub use?
As of 2026-12-01: 3 IPv4 and 2 IPv6 networks, listed on this page. The list in your router's format is in the tool.
How do I send only GitHub through a VPN?
Take the list in your router's or client's format: AllowedIPs needs networks, while Keenetic, MikroTik and OpenWrt also take domains. In Veli the same is done without lists, with split tunneling by sites and apps.