Requires python 3.7.x or higher
-
Add IP addresses with the full subnet masks into the csv file named "ip_adresses.csv"
- Entries must be placed beneath the column headers.
- Each entry must be on it's own line.
- IP address must be first, followed by full subnet mask. (Example: 192.168.1.0 255.255.255.0)
- Save and keep the same file name.
- run script by using Python, from cmd line,Powershell or BASH
python fortigate_address_create.py
-
Run script, the last line of script will tell you where it output the Fortigate script at.