> For the complete documentation index, see [llms.txt](https://docs.plenit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plenit.com/docs-en/productos/servers-1/how-to/how-to-deploy-a-fortigate-vnf.md).

# How to Deploy a FortiGate VNF in the Cloud

A FortiGate VNF is a virtual network function: a Fortinet firewall you deploy as a server within your subscription and operate yourself.

In this guide you create it from the Marketplace, connect it to your networks, and validate access to its console.

> #### 👍 What you get
>
> A FortiGate deployed and running, with a public IP on its management interface and access confirmed by web console and SSH.

### Before you begin

* Access to the Plenit panel with permissions to create servers.
* Have a name in mind (for example `FortinetKing`) and the deployment region and zone.
* Reserve at least the resources recommended by Fortinet: **1 vCPU**, **2 GB of RAM** and **2 GB of disk**.
* Decide which networks to connect (a management one and, if applicable, an internal one) and whether you will use a manual or auto-generated password.

### Step 1. Create a new server

In the panel, go to **New service → Servers → Add server** and give it an identifying name (for example `FortinetKing`). VNF like FortiGate are managed within the Servers service.

{/\* 📸 SCREENSHOT 1 · New service → Servers → Add server, with the name \*/}

![Creating a new server for the FortiGate VNF](https://reemplaza-url/servidores-howto-fortigate-01.png)

### Step 2. Select region and zone

Choose the country and zone that best fit your infrastructure or your client's.

{/\* 📸 SCREENSHOT 2 · region and zone selection \*/}

![Deployment region and zone selection](https://reemplaza-url/servidores-howto-fortigate-02.png)

### Step 3. Assign resources

Adjust CPU, RAM, and disk to your needs, starting from Fortinet's minimums (1 vCPU, 2 GB of RAM, 2 GB of disk). If you're going to move a lot of traffic or several VPNs, size it above the minimum.

{/\* 📸 SCREENSHOT 3 · CPU, RAM, and disk assignment \*/}

![CPU, RAM, and disk assignment](https://reemplaza-url/servidores-howto-fortigate-03.png)

### Step 4. Select the FortiGate image

In the **Images**section, open the **Marketplace**choose **FortiGate** as the VNF type and select the image that best fits your infrastructure.

{/\* 📸 SCREENSHOT 4 · Marketplace with the FortiGate image \*/}

![FortiGate image selection in the Marketplace](https://reemplaza-url/servidores-howto-fortigate-04.png)

### Step 5. Configure storage

Keep the main disk at **2 GB**: due to manufacturer limitations, the disk where the VNF is installed only supports that size. If you need space for configurations, logs, or extra storage, add additional disks (up to **1 TB** each, and you can add several).

{/\* 📸 SCREENSHOT 5 · 2 GB main disk and additional disks \*/}

![Configuration of the main disk and additional disks](https://reemplaza-url/servidores-howto-fortigate-05.png)

### Step 6. Configure the network

You can add several interfaces and choose between **Direct IP**, **Standard**, **VPC** or **Layer 2 (L2)**. For a functional deployment, the usual setup is a **management** with **Direct IP** interface (immediate external access) and an **internal** with **L2 network** to route traffic from your infrastructure.

The management network you choose changes how you control access:

| Management network | Filter by source IP?  | Access control                                           |
| ------------------ | --------------------- | -------------------------------------------------------- |
| Standard or VPC    | Yes, from the network | Extra control layer before traffic reaches the FortiGate |
| Direct IP          | No from the network   | With GeoIP or with policies on the FortiGate itself      |

{/\* 📸 SCREENSHOT 6 · management interfaces (Direct IP) and internal (L2) \*/}

![Management and internal interface configuration](https://reemplaza-url/servidores-howto-fortigate-06.png)

> #### 📘 If you use Direct IP, control access separately
>
> With Direct IP, traffic goes directly to the FortiGate's public interface and you cannot filter by source IP from the network.
>
> Apply control with [GeoIP](https://docs.plenit.com/docs-en/productos/servers/how-to/how-to-configure-geoip-to-block-or-allow-countries.md) or with the FortiGate's own security policies.

### Step 7. Complete the final configuration

**Identification**: define the **hostname**, the **administrator user** (by default `admin`) and the **password**, manual or auto-generated.

> #### ❗️ The auto-generated password cannot be changed later
>
> If you do not fill in the password, the user will be `admin` and the password will be generated automatically and delivered when the server is created.
>
> That auto-generated password cannot be changed afterward with the password reset function, so store it in a safe place at the time of creation.<br>

**Monitoring (SNMP Community)**: it is disabled by default. Enable it during deployment to see basic CPU, memory, and disk metrics from the start; if you don't do it here, you can enable it later through the FortiGate CLI, but the panel option will remain disabled.

**Management ports** on the management network:

* **HTTPS**: you can leave it at 443, although it is recommended **8443**.
* **SSH**: you can map it to an alternate port, for example **2022**.

After deployment you will connect with `https://IP:8443` and `ssh admin@IP -p 2022`.

{/\* 📸 SCREENSHOT 7 · hostname, user, password, SNMP and management ports \*/}

![Hostname, credentials, SNMP, and port configuration](https://reemplaza-url/servidores-howto-fortigate-07.png)

### Step 8. Validate the deployment and access it

In **Servers / My servers**, locate the newly created subscription and check that the status is **Running / Active** and that the **Direct IP** interface has a public IP assigned. Then, open the web console in the browser:

```scala
https://IP:8443
```

Enter the credentials from Step 7 (or `admin` and the auto-generated password). If everything is correct, you will see the FortiGate web console ready.

To check it from the terminal, verify that the management port responds and, if you work by CLI, connect via SSH:

```bash
curl -kI https://<IP>:8443
ssh admin@<IP> -p 2022
```

(The `-k` is because the initial certificate is self-signed.)

### Validation

Consider the deployment successful if all of this is met:

* The server appears in status **Running / Active**.
* The **Direct IP** interface has a public IP assigned.
* The web console responds at `https://IP:8443`.
* You log in with the configured credentials or the auto-generated ones.

### Operational and security notes

* With **Direct IP** as management, limit access with GeoIP or with FortiGate policies, since the network does not filter by source IP.
* Change the management ports to non-standard values (8443 / 2022) to reduce exposure.
* Save the auto-generated password as soon as the server is created.
* After the first access, review the logs and export an initial copy of the configuration.

### Conclusion

With this, you have a deployed and accessible FortiGate VNF, ready to be integrated into your infrastructure as a perimeter under your control.

From here, the steps that make the difference are the usual ones in a firewall: register the license and FortiGuard services if applicable, set up security policies, export a backup of the initial configuration, and leave SNMP monitoring sending metrics.

The sooner you harden management access, the less exposed the device remains.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.plenit.com/docs-en/productos/servers-1/how-to/how-to-deploy-a-fortigate-vnf.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
