# DMZ

The **DMZ** section is the basic interface for configuring the DMZ Driver, gateways, servers, and links within Data Mover Smart.&#x20;

{% hint style="danger" %}
The DMZ section requires a specific license.
{% endhint %}

At least a Cluster must exist. If not, the Create Cluster option will appear on the DMZ page.&#x20;

## DMZ Driver configuration

To set up the DMZ Driver, click the **DMZ Driver** button located at the top-left corner and in the **DMZ Driver** window fill in these fields:

* **Bind address**: IP address through which **Data Mover Smart** is accessible from the external.&#x20;
* **Local address**: (Default value: 0.0.0.0). Local IP address the DMZ Driver uses to bind incoming and outgoing connections.
* **Reserved ports range**: TCP-IP port ranges to be used to open tunnels between DMZ Driver and DMZ Gateway. For each incoming/outgoing connection, one port should be reserved (2 ports are needed for FTP protocol). Ensure these ports are open on both the DMZ and Data Mover Smart. The ports must be open from **Data Mover Smart** to **Data Mover Smart** **Gateway**. See the details on the [Data Mover Smart Gateway port configuration](/data-mover-smart/services/dmz/data-mover-smart-gateway-port-configuration.md) page.&#x20;
* **Socket timeout**: (Default value: 30 seconds). Timeout duration (in seconds) for read/write/connect operations on the DMZ Driver–DMZ Gateway tunnel. Use -1 for an infinite timeout.
* **Idle timeout**: (Default value: 90 seconds). Duration (in seconds) to keep the connection alive between the DMZ Driver and DMZ Gateway.
* **Reconnection interval**: (Default value: 30 seconds). Time (in seconds) before the DMZ Driver attempts to reconnect to the DMZ Gateway after a disconnection,
* **Reconnection attempts**: (Default value: -1). Number of reconnection attempts before considering the DMZ Gateway unreachable. Use -1 for unlimited attempts.

Click the **Save** button to apply and confirm the **DMZ Driver** settings.&#x20;

## Gateway configuration

Once the DMZ Driver is set up, you can **create Gateways** that will appear in the corresponding drop-down list.&#x20;

Choose the appropriate cluster from the drop-down menu. To configure a Gateway, click the + button below the Gateway panel and fill in the fields:

* **Name**: enter a unique name for the Gateway.
* **Description**: optionally, provide a brief description to identify the Gateway’s purpose or role.
* **Internal address**: specify the internal IP address used by the Gateway.
* **Internal port**: enter the port number for internal communication. This port must be open from Data Mover Smart to Data Mover Smart Gateway. See the details on the [Data Mover Smart Gateway port configuration](/data-mover-smart/services/dmz/data-mover-smart-gateway-port-configuration.md) page.&#x20;
* **External address**: provide the external IP address through which the Gateway is accessible.

Once all fields are completed, the <img src="/files/npGNV55SGhmyrDfODAev" alt="" data-size="line"> Save button will become active. Click it to confirm and save the Gateway settings.

## Servers and Links

On the right side of the screen, you’ll find a list of all **Servers** and **Links** currently configured in the DMZ.

### Servers&#x20;

This section displays the [servers](/data-mover-smart/services/servers.md) where the DMZ configuration is already active.&#x20;

<figure><img src="/files/KcsTJSwWVgzaDdnA5Mmg" alt="" width="563"><figcaption></figcaption></figure>

Whenever the **DMZ toggle** is enabled during the creation or editing of a [server](/data-mover-smart/services/servers.md), the server will automatically appear in this list.

To add a DMZ configuration **to an existing server** from the DMZ page, follow these steps:

1. Click the **+** button in the lower-right corner of the screen.
2. A panel will appear. Click **Choose Server** to open the selection window.&#x20;
3. Select a server from the list and click **Confirm**.&#x20;

{% hint style="danger" %}
Note: Each server can be selected only once.
{% endhint %}

4. In the **Mode** dropdown, select **Port Forwarding**.
5. Enter the **external port number** used to reach this server via the Data Mover Smart gateway. This port must be open on the Data Mover Smart gateway to the Internet.
6. Once all fields are filled in, the **Save** button will become active. Click it to confirm and apply the settings.

### Links

The **Links** section displays all [links](/data-mover-smart/services/links.md) - such as client connections and remote nodes - where the DMZ configuration is active.

<figure><img src="/files/KcsTJSwWVgzaDdnA5Mmg" alt="" width="563"><figcaption></figcaption></figure>

Whenever the **DMZ toggle** is enabled during the creation or editing of a [Link](/data-mover-smart/services/links.md), the corresponding entry will automatically appear in this list.&#x20;

To add a DMZ configuration **to an existing link** from the DMZ page, follow these steps:

1. Click the **+** button in the lower-right corner of the screen.
2. A panel will appear. Click **Choose Link** to open the selection window.&#x20;
3. Select a link from the list. If you need a PR4 Node, click the **Remote Nodes** option to access the relevant list.&#x20;
4. After choosing the link, click **Confirm** to proceed.&#x20;

{% hint style="danger" %}
Note: Each link can be selected only once.
{% endhint %}

5. Choose a specific cluster from the list.\
   If no cluster is selected, Data Mover Smart will apply the link to **all clusters** by default.
6. Once all required fields are completed, the **Save** button will become active. Click it to confirm and save the configuration.


---

# 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://docs.primeur.com/data-mover-smart/services/dmz.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.
