Frecuentemente publicamos actualizaciones de nuestra documentación. Es posible que la traducción de esta página esté en curso. Para conocer la información más actual, visita la documentación en inglés. Si existe un problema con las traducciones en esta página, por favor infórmanos.

Managing allowed IP addresses for your organization

You can restrict access to your organization's assets by configuring a list of IP addresses that are allowed to connect.

Allowed IP addresses are available with Nube de GitHub Enterprise. Para obtener más información, consulta "Productos de GitHub".

En este artículo

Organization owners can manage allowed IP addresses for an organization.

Acerca de las direcciones IP permitidas

You can restrict access to organization assets by configuring an allow list for specific IP addresses. For example, you can allow access from only the IP address of your office network. 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.

You can approve access for a single IP address, or a range of addresses, using CIDR notation. For more information, see "CIDR notation" on Wikipedia.

To enforce the IP allow list, you must first add IP addresses to the list, then enable the IP allow list. Debes agregar tu dirección IP actual o un rango coincidente antes de habilitar la lista de permisos de IP.

You can also configure allowed IP addresses for the organizations in an enterprise account. For more information, see "Enforcing security settings in your enterprise account."

Agregar una dirección IP permitida

  1. In the top right corner of GitHub, click your profile photo, then click Your profile.

    Profile photo

  2. On the left side of your profile page, under "Organizations", click the icon for your organization.

    organization icons

  3. Under your organization name, click Settings.

    Organization settings button

  4. In the organization settings sidebar, click Security.

    Security settings

  5. Under "IP Address", type an IP address, or range of addresses, in CIDR notation.

    Campo clave para agregar una dirección IP

  6. Under "Description", type a description of the allowed IP address or range.

    Campo clave para agregar un nombre a la dirección IP

  7. Haz clic en Add (Agregar).

    Botón Add allowed ip address (Agregar dirección ip permitida)

Habilitar direcciones IP permitidas

  1. In the top right corner of GitHub, click your profile photo, then click Your profile.

    Profile photo

  2. On the left side of your profile page, under "Organizations", click the icon for your organization.

    organization icons

  3. Under your organization name, click Settings.

    Organization settings button

  4. In the organization settings sidebar, click Security.

    Security settings

  5. En "IP allow list" (Lista de permisos de IP), seleccione Enable IP allow list (Habilitar lista de permisos de IP).

    Realizar una marca de verificación para permitir direcciones IP

  6. Haz clic en Save (Guardar).

Editar una dirección IP permitida

  1. In the top right corner of GitHub, click your profile photo, then click Your profile.

    Profile photo

  2. On the left side of your profile page, under "Organizations", click the icon for your organization.

    organization icons

  3. Under your organization name, click Settings.

    Organization settings button

  4. In the organization settings sidebar, click Security.

    Security settings

  5. Under "IP allow list", to the right of the entry you want to edit, click Edit.

    Botón Edit allowed IP address (Editar dirección IP permitida)

  6. Type an IP address, or range of addresses, in CIDR notation.

    Campo clave para agregar una dirección IP

  7. Type a description of the allowed IP address or range.

    Campo clave para agregar un nombre a la dirección IP

  8. Haz clic en Update (Actualizar).

Eliminar una dirección IP permitida

  1. In the top right corner of GitHub, click your profile photo, then click Your profile.

    Profile photo

  2. On the left side of your profile page, under "Organizations", click the icon for your organization.

    organization icons

  3. Under your organization name, click Settings.

    Organization settings button

  4. In the organization settings sidebar, click Security.

    Security settings

  5. Under "IP allow list", to the right of the entry you want to delete, click Delete.

    Botón Delete allowed IP address (Eliminar dirección IP permitida)

  6. To permanently delete the entry, click Yes, delete this IP allow list entry.

    Botón Permanently delete IP allow list entry (Borrar permanentemente la entrada de la lista de IP permitida)

Using Acciones de GitHub with an IP allow list

Warning: If you use an IP allow list and would also like to use Acciones de GitHub, you must use self-hosted runners. For more information, see "Hosting your own runners."

To allow your self-hosted runners to communicate with GitHub, add the IP address or IP address range of your self-hosted runners to the IP allow list. For more information, see "Adding an allowed IP address."

Pregunta a una persona

¿No puedes encontrar lo que estás buscando?

Contáctanos