---
title: "Connect to a UserGate firewall"
sidebar_label: "Connect to a firewall"
sidebar_position: 4
description: "How to connect to a UserGate firewall"
---

import Formbricks from '@theme/MDXComponents/Formbricks';

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import { TabItemLabel } from '@selectel/docux/components';

# Connect to a UserGate firewall

You can manage your firewall through the graphical or console interface.

<Tabs queryString="connect-usergate">
  <TabItem value="graphic" default>
    <TabItemLabel>
      Graphical interface
    </TabItemLabel>

    1. Open the following page in your browser:

       ```bash
       https://<ip_address>:8001
       ```

       Specify `<ip_address>` — the [IP address](#view-ip-to-connect-to-firewall) of the firewall.

    2. Enter your username and password.
  </TabItem>

  <TabItem value="cli">
    <TabItemLabel>
      Console interface
    </TabItemLabel>

    You can connect to the firewall via SSH.

    1. Open your CLI.

    2. Connect to the firewall:

       ```bash
       ssh <username>@<ip_address> -p 2222
       ```

       Specify:

       * `<username>` — username;
       * `<ip_address>` — the [IP address](#view-ip-to-connect-to-firewall) of the firewall.

    3. Enter your password.
  </TabItem>
</Tabs>

## View the IP address for connecting to the firewall \{#view-ip-to-connect-to-firewall}

<Tabs queryString="view-ip-to-connect-to-firewall">
  <TabItem value="hardware-firewall" default>
    <TabItemLabel>
      Hardware firewall
    </TabItemLabel>

    Check the IP address in the [ticket](https://my.selectel.ru/tickets) that was created when [ordering the firewall](/firewalls/order/order-virtual-firewall.mdx).
  </TabItem>

  <TabItem value="virtual-firewall">
    <TabItemLabel>
      Virtual firewall
    </TabItemLabel>

    Use the IP address you assigned when setting up the firewall.

    To view the address:

    * for a virtual machine in a private or public VMware cloud — in the [Control Panel](https://my.selectel.ru/vmware/) in the top menu click **Products** → **VMware-based Cloud** → **Cloud Director** → data center page → virtual machine page → **Hardware** section → **NICs**. In the **NIC 0** row copy the value in the **IP Address**;
    * for a cloud server — in the [Control Panel](https://my.selectel.ru/vpc/default/servers/) in the top menu click **Products** → **Cloud Servers** →  **Servers** → server page →  **Ports** tab. In the internet port row copy the value in the **Public IP** field. If this field is empty, copy the value in the **IP address**.
  </TabItem>
</Tabs>

<Formbricks />
