Automation

FortiGate Terraform with GitLab CI/CD Pipeline

In a previous post, I have created a sample of FortiGate config with Terraform. This was all performed locally from a Windows machine. While this is good in a lab environment, the major problem with it is that the management doesn’t scale. If there is more than a single network engineer, they need to share

FortiGate Terraform with GitLab CI/CD Pipeline Read More »

GitLab Create SSH Key

This is a short post to explain how to setup a GitLab SSH key to securely access your repos. For the full GitLab documentation, please see this article. In GitLab, to create an SSH key, navigate to: User Settings >> SSH Keys Generate an SSH Key I am doing this on a Mac, open a

GitLab Create SSH Key Read More »

Enabling FortiGate IPS with Terraform – Metasploit Test

This lab takes the initial config from the post, Creating FortiGate Config with Terraform, and adds in the IPS config to the firewall rule that permits all traffic between INSIDE and DMZ. The IPS policy is the default from FortiNet that blocks critical attacks. The attack that I will demonstrate is the ever popular vsftpd

Enabling FortiGate IPS with Terraform – Metasploit Test Read More »

Creating FortiGate Config with Terraform

For this lab I have created a small topology with a FortiGate which will be configured with Terraform. There are two networks INSIDE 192.168.10.0/24 and DMZ 192.168.20.0/24. The other interface is for OUTSIDE this is connected into my home lab network and has an IP of 10.10.30.215. Terraform is used to configure the FortiGate firewall,

Creating FortiGate Config with Terraform Read More »

Arista VXLAN 3 – Automating Adding New Spine and Leaf Switches

I have been over the automatic creation of the VXLAN topology in the previous post. However, this stopped at the creation of the topology only. If in the future I wanted to add a new spine or leaf switch, this could be done, but the other switches wouldn’t be aware as they would also need

Arista VXLAN 3 – Automating Adding New Spine and Leaf Switches Read More »