You can create an IP allow list by adding entries that each contain an IP address or address range. After you finish adding entries, you can check whether a particular IP address would be allowed by any of the enabled entries in your list.
Before the list restricts access to private assets owned by organizations in your enterprise, you must also enable allowed IP addresses.
- In the top right corner of GitHub.com, click your profile photo, then click Your organizations.
- Next to the organization, click Settings.
- In the "Security" section of the sidebar, click Authentication security.
- At the bottom of the "IP allow list" section, in the "IP address or range in CIDR notation" field, type an IP address, or a range of addresses in CIDR notation.
- Optionally, in the "Short description of IP address or range" field, enter a description of the allowed IP address or range.
- Click Add.
- Optionally, check if a particular IP address would be allowed by any of the enabled entries in your list.