In GitHub Enterprise Cloud and GitHub AE, you can restrict access to organization assets by configuring an allow list for specific IP addresses. For example, it is possible to allow access from only the IP address of a trusted CIDR. The allow list for IP addresses will block access via the web, API, and Git from any IP addresses that are not on the allow list.
- Go to your organization page on GitHub
- Click on Settings and then Security
- In the IP allowlist section, click on Enable IP allowlist
- Add the IP addresses and ranges that you want to allow access to your organization's resources
Updated 12 days ago