---
title: "Connect to a FortiGate firewall"
sidebar_label: "Connect to a firewall"
sidebar_position: 3
description: "How to connect to a FortiGate firewall"
---

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

# Connect to a FortiGate firewall

The settings in this guide are current for FortiOS versions 6.x and 7.x. If you have a different version of FortiOS, you can find the documentation for it in the top-right corner of the FortiGate control panel or on the [official FortiGate website](https://docs.fortinet.com).

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

    1. Open the following page in your browser:

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

       Specify `<ip_address>` — the firewall IP address that you received in the ticket after [ordering the service](firewalls/order/order-hardware-firewall.mdx).

    2. Log in with your administrator username and password. If you are logging in for the first time, use the username and password you received in the ticket after [ordering the service](firewalls/order/order-hardware-firewall.mdx).
  </TabItem>

  <TabItem value="cli">
    <TabItemLabel>
      CLI
    </TabItemLabel>

    1. Open the CLI.

    2. Connect to the firewall via SSH:

       ```bash
       ssh <username>@<ip_address>
       ```

       Specify:

       * `<username>` — the administrator username. If you are logging in for the first time, use the username you received in the ticket after [ordering the service](firewalls/order/order-hardware-firewall.mdx);
       * `<ip_address>` — the firewall IP address that you received in the ticket after [ordering the service](firewalls/order/order-hardware-firewall.mdx).

    3. Enter the administrator password. If you are logging in for the first time, use the password you received in the ticket after [ordering the service](firewalls/order/order-hardware-firewall.mdx).
  </TabItem>
</Tabs>

<Formbricks />
