Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 701 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 701 Bytes

Fortigate Address Create

This script makes a Fortigate script for adding subnet address objects.

Steps

Requires python 3.7.x or higher

  1. Add IP addresses with the full subnet masks into the csv file named "ip_adresses.csv"

    1. Entries must be placed beneath the column headers.
    2. Each entry must be on it's own line.
    3. IP address must be first, followed by full subnet mask. (Example: 192.168.1.0 255.255.255.0)
    4. Save and keep the same file name.
    5. run script by using Python, from cmd line,Powershell or BASH python fortigate_address_create.py
  2. Run script, the last line of script will tell you where it output the Fortigate script at.