> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myrmex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# SonicWall Firewall

> Connect a SonicWall NGFW (SonicOS) to Myrmex over SSH — create the CLI account and add the integration.

import { Note, Steps, Step, CardGroup, Card, Tip } from '@mintlify/components';

Connect your **SonicWall** NGFW (SonicOS) so Myrmex can read the running configuration, document the appliance, and — with approval — run firewall and network CLI operations. Myrmex reaches the device over **SSH** through a [Collector](/documentation/agent-endpoint-security/collector-mode) on your network and queries it in real time.

## What Myrmex Can Do

<CardGroup cols={2}>
  <Card title="Read & document" icon="magnifying-glass">
    Run CLI commands to inspect interfaces, policies, NAT, and the running configuration — read on demand.
  </Card>

  <Card title="Run CLI commands" icon="terminal">
    Execute firewall and network operations, with changes applied on approval.
  </Card>

  <Card title="Inventory" icon="network-wired">
    Track the appliance model and SonicOS version — nothing stored on the Myrmex side.
  </Card>
</CardGroup>

## Before You Start

* A **Collector** that can reach the firewall's management IP over SSH. See [Deploying the agent](/documentation/agent-endpoint-security/installation) and [Collector mode](/documentation/agent-endpoint-security/collector-mode).
* An **account with CLI access** to the device — read-only is enough for analysis; a full-configuration account is required to run changes.

## Step 1 — Create the Credential in SonicWall

<Steps>
  <Step title="Enable SSH management">
    In SonicOS, turn on SSH management under **Device → Settings → Administration**, and enable **SSH** on the management interface under **Network → Interfaces**.
  </Step>

  <Step title="Create an administrator">
    Create a local administrator for Myrmex under **Device → Users → Local Users & Groups**. Add it to the **SonicWall Administrators** group for full configuration access, or **Limited Administrators** for read-only. Note the username and password.
  </Step>
</Steps>

<Tip>
  Prefer least privilege: start with a limited/read-only administrator, and grant full configuration access only when you want the agents to run changes for you.
</Tip>

## Step 2 — Add the Integration in Myrmex

From the [Directory](/documentation/ai-workspace/overview#the-directory), choose **Add Integration → SonicWall Firewall**, then fill in:

| Field           | Description                                                                                           |
| --------------- | ----------------------------------------------------------------------------------------------------- |
| **Name**        | A unique name for this firewall.                                                                      |
| **Description** | Optional note to identify the device.                                                                 |
| **IP**          | The firewall management IP or hostname the Collector can reach.                                       |
| **SSH Port**    | The SSH port (default `22`).                                                                          |
| **Username**    | The CLI account created in Step 1.                                                                    |
| **Password**    | That account's password.                                                                              |
| **Model**       | Your SonicWall NGFW appliance model (TZ, NSa, or NSsp).                                               |
| **Version**     | The SonicOS firmware version running on the device, or **Other**.                                     |
| **Collector**   | The [Collector](/documentation/agent-endpoint-security/collector-mode) that opens the SSH connection. |

## Connect

Click **Connect** to validate the SSH connection and finish. The firewall then appears under **Environment → Integrations**, and you can ask the [Integration Specialist](/documentation/multi-agent-system/integration-specialist-agent) about it in the Workspace.

<Note>
  Myrmex queries the firewall in real time over SSH and acts only on approval. It does not store or retain the device's configuration or data on the Myrmex side.
</Note>
