# ¿Cómo acceder al firewall del servidor en HestiaCP?

El **Cortafuegos** o **Firewall** te permitirá abrir o cerrar conexiones IPs o puertos UDP/TCP.

Para ingresar al Firewall seguí los siguientes pasos:

1. Presioná el icono del engranaje, en el menú susperior.
2. Luego, ingresá a la opción **Cortafuegos**.

<figure><img src="/files/YzF0cWHI5HQoTEYxi7zO" alt=""><figcaption></figcaption></figure>

De las opciones del **Firewall** que encontrarás, las mas útiles son las siguientes:

1. **Añadir Regla:** te permitirá abrir o cerrar conexiónes IPs o puertos TCP/UDP.
2. **Direcciones IPS baneadas:** verás una lista de IPs bloqueadas que podrás desbloquear si fuera necesario.

<figure><img src="/files/NsxAJkzYW6aYEianNI2a" alt=""><figcaption></figcaption></figure>

**Añadir Regla**

Para abrir o cerrar una conexión deberás:

1. Definir la acción a tomar.
2. Elegir el protocolo que querrás afectar.
3. Escribir el puerto que quieras abrir o cerrar.
4. Escribir la dirección IP que quieras abrir o cerrar.
5. Finalmente, tendrás que grabar la regla con el botón **Guardar** que está arriba a la derecha.

<figure><img src="/files/ljBeADjR7qzq6B8w8IDq" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ayuda.sitioshispanos.com/menu-principal/guias/paneles-de-control/panel-de-control-hestiacp/servicios-del-servidor/como-acceder-al-firewall-del-servidor-en-hestiacp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
