Scripts for Fortigate

On this page

FortiGate Commands Generator

On this page, you will discover a collection of FortiGate tools tailored for network administrators, IT professionals, and security personnel engaged in managing FortiGate firewalls. These tools are designed to enhance operational efficiency and precision while configuring firewall rules and address objects.

Disclaimer

IPv4 Address and Group Generator

This is a web-based utility designed to streamline the process of generating firewall configuration commands for FortiGate devices. Whether you need to add IP addresses or create IP address groups with specific settings, this tool simplifies the task by providing an intuitive interface to input your data and instantly generate the necessary commands.

Principal Functions

The tool offers the following principal functions:

  1. Add IP Addresses: Easily create firewall address configuration commands for individual IP addresses. Input a list of comma-separated IP addresses, along with an optional comment. The tool generates a sequence of commands, including IP-specific settings and comments, following the FortiGate configuration syntax.

  2. Add IP Addresses to Group: Simplify the process of generating firewall address group commands. Input a group name and a list of comma-separated IP addresses to create a configuration snippet that appends each IP address to the specified address group, complete with comments and other settings.

  3. Generated Commands Preview: The tool provides a clear and organized preview of the generated FortiGate firewall configuration commands. This enables users to review and validate the commands before applying them to their FortiGate devices.

IP Addresses Generator





Add IP Addresses to a Group








Webfilter custom categories Script Generator

To check the existing custom categories and get the rating number, use the following command (CLI):

show webfilter ftgd-local-cat

FortiGate Script Generator


Enter URLs (maximum 50 - newline-separated):


Content.

Carlos Luigi ☕️

C. Luigi

👋 Hi, there! I’m Luigi, a Network Security and Systems Administrator.

Here you find my notes, scripts, and tools that I have gathered and developed over the years.