Skip to content

renaldiAlterra/fortigate_address_create

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Python script that helps generate a Fortigate script to add multiple address objects and also creates an address object group for them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%