Excel file and fortinet automation
Simply make a batch file in windows and read from your excel file then convert the your datasheet to fortigate rules. In this code, I converted the excel file with 5 columns to the fortigate policy. My Excel File: any,any,ctldl.windowsupdate.com,80/443,Test1 any,any,microsoft.com,80,Test2 any,any,crl.microsoft.com,80,Test3 any,any,ssl.google-analytics.com,443,Test4 My Batch file: @echo off setlocal ENABLEDELAYEDEXPANSION >output-configuration-policy.txt ( echo:config firewall policy […]