> For the complete documentation index, see [llms.txt](https://wiki.datadike.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.datadike.com/pam/administration/connectivity/gateways.md).

# Gateways

Jump hosts registered inside a proxy, and how the network devices and out-of-band consoles usually reached through them are discovered, mediated and audited.

A **gateway** is a jump host: a machine inside the asset network that the solution logs in to and forwards traffic through, so that assets with no direct route can still be reached. Gateways are not standalone records — each one belongs to a [Proxy](https://wiki.datadike.com/pam/administration/connectivity/proxy.md), which is the zone the assets are attached to.

{% hint style="warning" %}
**Two different things are called "gateway".** This page is about the jump host inside a network the solution can reach, where the solution dials **in**. The other one is the appliance installed at a remote site that dials **out** to a [Broker](https://wiki.datadike.com/pam/administration/connectivity/broker.md), used when the solution cannot reach the network at all. They are not interchangeable, and an asset uses one path or the other, never both.
{% endhint %}

## What this is and when to use it

Use a gateway when only one machine of a network is reachable — a segmented subnet with a single exposed server, a management VLAN, or an environment where the firewall opens one host only. Everything behind it is then reached through that single hop, with the session mediated, recorded and audited exactly as a direct session would be.

Management networks are the usual case, which is why this page also covers the device classes most often found behind a jump host: switches, routers, firewalls, load balancers, access points, biometric readers, VoIP equipment, storage controllers and out-of-band consoles.

## Before you start

* The jump host must be registered as an asset. The **Gateway** platform exists for exactly this: it has the same protocol set as **Linux** (SSH 22, SFTP 22, Telnet 23, VNC 5900, RDP 3389) and is kept separate only to make the host's role obvious in the inventory.
* The jump host needs an account with a working credential — the hop is made with it.
* A [Proxy](https://wiki.datadike.com/pam/administration/connectivity/proxy.md) record to attach the gateway to.
* On the **platform of each target asset**, **Gateway enabled** must be on, or connections to that platform will not use the jump path.

**Preparing the jump host itself** (its two network interfaces, SSH, and why it must not route between the networks) is covered step by step in [Prepare a Linux jump host](https://wiki.datadike.com/pam/administration/connectivity/jump-host-setup.md).

## Steps

1. Register the jump host in [Inventory](https://wiki.datadike.com/pam/administration/assets/inventory.md) on the **Gateway** platform, with the address the solution can reach, and add an account with its credential.
2. In **Console › Gateway › Proxy**, open the proxy that represents the network and associate the jump host on its **Gateways** tab.
3. Attach the assets that will be reached through it, and confirm their platforms have **Gateway enabled**.
4. Grant the access authorization to the users or groups who need those assets.

## Network devices and out-of-band consoles

Privileged access is not limited to servers and databases. Network, storage and remote-management equipment is managed as ordinary assets, grouped by type, location and criticality.

{% hint style="info" %}
Network and OOB equipment shares the governance model of every other asset: the privileged credential lives in the vault, the access is mediated, and the session is recorded and auditable.
{% endhint %}

### Discovery

Discovery maps the equipment that uses privileged credentials by scanning subnets, IP lists or CIDR ranges and identifying devices through their management protocols.

| Protocol            | What it is used for                                                                                 |
| ------------------- | --------------------------------------------------------------------------------------------------- |
| **SSH**             | Finds hosts with an active SSH service; collects the banner and the host key fingerprint            |
| **Telnet**          | Identifies legacy equipment that still exposes a CLI over Telnet                                    |
| **HTTPS / web GUI** | Detects web administration interfaces — firewall panels, storage controllers, management consoles   |
| **SNMP**            | Reads `sysDescr`, `sysObjectID` and other standard OIDs to classify vendor, model and role          |
| **CLI**             | Recognizes the prompt type and network operating system, so the command parser matches the platform |

Two modes are available:

* **Scheduled** — you define the ranges, the read credentials and a scan window; the inventory is refreshed periodically and new, changed or disappeared assets are flagged.
* **On demand** — you scan a specific range and review the candidates before promoting them to managed assets, deciding which credentials get imported into the vault.

{% hint style="warning" %}
Use **read-only credentials** during discovery — an SNMP `read-only` community or a dedicated inventory user. Promote a device to full privileged access only after it has been classified.
{% endhint %}

### Vendors and equipment

Connection profiles and command parsers are pre-configured for the common vendors; anything else is accommodated through generic SSH, Telnet or HTTPS profiles.

| Vendor        | Equipment types                                                                    | Typical protocols              |
| ------------- | ---------------------------------------------------------------------------------- | ------------------------------ |
| **Cisco**     | Switches, routers, firewalls (ASA/Firepower)                                       | SSH, Telnet, HTTPS, SNMP       |
| **Dell**      | Switches, storage, iDRAC consoles                                                  | SSH, HTTPS, SNMP, IPMI         |
| **HPE**       | Switches (Aruba), storage, iLO consoles                                            | SSH, HTTPS, SNMP, IPMI         |
| **Fortinet**  | Firewalls (FortiGate), switches                                                    | SSH, HTTPS, SNMP               |
| **Palo Alto** | Next-generation firewalls                                                          | SSH, HTTPS (web GUI), SNMP     |
| **Huawei**    | Switches, routers, storage                                                         | SSH, Telnet, HTTPS, SNMP       |
| **Juniper**   | Switches, routers, firewalls (SRX)                                                 | SSH, HTTPS, SNMP               |
| **Lenovo**    | Servers, switches, XClarity Controller (XCC) consoles                              | SSH, HTTPS, SNMP, IPMI/Redfish |
| **Others**    | Load balancers, storage controllers and anything compatible with a generic profile | SSH, Telnet, HTTPS, SNMP, CLI  |

{% hint style="info" %}
Each vendor profile carries the right CLI prompt configuration, the privilege escalation sequence (for example, `enable` mode) and the command dictionary. That is what makes command auditing and command blocking work correctly on each platform. The **Device** category of [Platforms](https://wiki.datadike.com/pam/administration/assets/platforms.md) ships **General**, **Cisco**, **Huawei**, **H3C** and **Fortinet** natively, all on SSH 22 and Telnet 23; other vendors are handled with a generic or custom platform.
{% endhint %}

### Out-of-band consoles

Out-of-band consoles administer a server even when its operating system is unavailable, at firmware and hardware level.

| Technology                    | Vendor / standard                         | Access                             |
| ----------------------------- | ----------------------------------------- | ---------------------------------- |
| **DRAC / iDRAC**              | Dell                                      | HTTPS (web GUI), SSH, IPMI         |
| **iLO**                       | HPE                                       | HTTPS (web GUI), SSH, IPMI         |
| **IPMI**                      | Open multi-vendor standard                | IPMI over LAN, SSH                 |
| **BMC**                       | Baseboard Management Controller (generic) | HTTPS, SSH, IPMI/Redfish           |
| **XClarity Controller (XCC)** | Lenovo                                    | HTTPS (web GUI), SSH, IPMI/Redfish |

For these consoles the solution keeps the administrative credential (`root`, `Administrator`, `admin`) in the vault so operators never learn it, mediates the HTTPS, SSH or IPMI session without revealing the password, and records the session — including the video of the console's web interface and the commands typed in the CLI.

{% hint style="danger" %}
An OOB console grants power equivalent to physical access to the equipment: power cycling, mounting virtual media, resetting firmware. Restrict these assets to the most trusted profiles and require approval for check-out wherever you can.
{% endhint %}

### Command auditing and blocking

In command-line sessions every command sent to the equipment is inspected in real time. A sensitive command can be **blocked**, **blocked with an alert**, or merely **recorded for review**, and the forbidden-command lists can be specific to a vendor or platform. Commonly blocked examples:

| Command (example)                 | Risk                                            | Typical action   |
| --------------------------------- | ----------------------------------------------- | ---------------- |
| `erase startup-config`            | Loss of configuration                           | Block            |
| `reload` / `reboot`               | Equipment outage                                | Block with alert |
| `delete` on storage volumes       | Data loss                                       | Block            |
| `username ... privilege 15`       | Privileged account created outside the solution | Block with alert |
| `factory-reset` on an OOB console | Hardware or firmware reset                      | Block            |

{% hint style="warning" %}
Review the blocking lists periodically with the network and security teams. A list that is too broad stops legitimate maintenance; one that is too narrow leaves the destructive commands available.
{% endhint %}

Access to these devices can also be restricted by combining dimensions — user profile, equipment type, time window and connection origin (IP ranges, trusted networks, administration segments). The rules combine, so a policy such as "junior network operators reach the site switches only during business hours and only from the administration network" is expressible as one rule set.

## How to verify it worked

1. Run **Test connectivity** on an asset that sits behind the gateway, from its **Quick update** block in [Inventory](https://wiki.datadike.com/pam/administration/assets/inventory.md). This exercises the jump path, not the gateway record.
2. Open a real session — for a network device, an [SSH session](https://wiki.datadike.com/pam/administration/sessions/ssh.md) — and confirm it connects and that recording starts.
3. Check the command log for that session. Sessions are indexed by equipment, user, date and command, so an audit question such as "who ran `reload` on this router last week?" is answered from the index rather than by watching recordings.
4. After a discovery run, confirm the devices appear as candidates, classified by type, vendor, location and available protocols, before you promote them.

## Common errors

| Symptom                                                        | Cause                                                                                          | Fix                                                                                         |
| -------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| Sessions to assets behind the jump host fail                   | The solution has no route or no open port to the jump host itself                              | Open the path from the solution to the jump host; the solution always dials in on this path |
| Connections bypass the jump host                               | The target asset's platform has **Gateway enabled** off                                        | Turn it on for that platform                                                                |
| The jump succeeds but the asset is unreachable                 | The jump host cannot see that asset from its own network position                              | Test reachability from the jump host, not from the solution                                 |
| Command blocking or command auditing behaves oddly on a device | The asset is on a generic platform whose prompt and command dictionary do not match the vendor | Move the asset to the vendor platform, or duplicate a native one and adjust it              |
| Discovery returns devices but no usable inventory data         | The scan credentials cannot read the management protocols                                      | Provide read-only SSH or SNMP credentials for the ranges being scanned                      |
| An asset will not accept the jump path                         | It is already bound to a broker gateway                                                        | An asset uses a proxy or a broker gateway, not both                                         |

## Field reference

| Item                 | What it is                                                                                                                                                               |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Gateway** platform | Linux-based platform for jump hosts, with SSH 22, SFTP 22, Telnet 23, VNC 5900 and RDP 3389. Separate from **Linux** only to make the host's role clear in the inventory |
| **Gateway enabled**  | Platform switch, in **Quick update**, that allows connections to that platform to pass through a gateway                                                                 |
| **Gateways** tab     | On a proxy's detail panel: the jump machines associated with that proxy                                                                                                  |
| **Unbind gateway**   | Action on a device card that removes the device's link to a *broker* gateway. Unavailable when there is no such link                                                     |

## Related pages

* [Proxy](https://wiki.datadike.com/pam/administration/connectivity/proxy.md) — the record a gateway belongs to and assets attach to
* [Broker](https://wiki.datadike.com/pam/administration/connectivity/broker.md) — the other kind of gateway, which dials out from the remote site
* [Platforms](https://wiki.datadike.com/pam/administration/assets/platforms.md) — the **Gateway** platform and **Gateway enabled**
* [Inventory](https://wiki.datadike.com/pam/administration/assets/inventory.md) — registering the jump host and testing connectivity
* [SSH sessions](https://wiki.datadike.com/pam/administration/sessions/ssh.md) — the usual way network devices are reached
