Fortigate Firewall Automation - Hands-On Labs
Learn Fortigate firewall automation with hands-on labs using FortiOS API, XML, Python, and Ansible. Build real-world automation skills.
in FortiGateWhat you will learn?
Set up automation lab environment with Ubuntu management and two FortiGate firewalls.
Master REST API fundamentals using curl to perform GET, POST, PUT, and DELETE operations.
Write Python scripts from scratch to automate FortiGate configuration tasks with error handling.
Build Ansible playbooks to manage multiple firewalls using inventory files and variables.
Troubleshoot automation failures and revert changes using Git version control.
Apply real-world automation skills combining API calls, Python scripting, and Ansible for firewall management.
About this course
This hands-on lab course represents a carefully crafted journey from zero automation knowledge to practical confidence. It is designed specifically for individuals who have never written a line of Python or touched an Ansible playbook before.
Every concept is introduced through hands-on application rather than abstract theory. You will build your skills incrementally, starting with simple command-line tools before progressing to scripting and finally multi-device orchestration.
If you have any question or concern, please contact our learning advisor.
The instructor's approach focuses on understanding why each step matters, not just how to execute it. You will learn to think like an automation engineer while working in a forgiving lab environment designed for experimentation.
Real-world troubleshooting and version control are integrated throughout the material. These skills transform students from passive learners into engineers capable of solving problems independently when things inevitably go wrong.
By the end of this lab course, automation will feel like a natural extension of your firewall management toolkit rather than a mysterious black box reserved for programmers.
Prerequisites
Similar Courses
FAQ
Comments (0)
Initial configurations on topology devices
Configuring and Verifying IP Connectivity on Ubuntu-Mgmt
Fortigate factory reset and initialize basic configurations
Assigning IP to Management Interfaces of Fortigate firewalls
Install Python and Ansible Packages on Ubuntu-Mgmt
Creating REST API admin for Automation on FortiGate
Your first FortiGate API call using cURL
First configuration on FortiGate via API using cURL
Construct a curl PUT command for modifying the configuration
Construct and execute a curl DELETE command.
Your First Python Script for FortiGate Firewall
API call using Python Script
Configuring Objects on FortiGate via Python API
Delete Configuration Using Python Script
Creating Python Script with User Input
Ansible Inventory Files, Groups and Variables
Install Ansible Collection and Create Playbook
Configuring Address Objects Using Ansible
Create a new playbook that uses the variables
Configuring Interfaces and Gateway Using Ansible
Write the playbook with policy configuration.
Introduction to Git for Version Control