Skip to main content
Azuriste
New Member
Jul 20, 2018 12:51 PM UTC
Solved

Export Fortigate 300d Rules

Hello Guys ,

I need someone show me how can i do Export rules from Fortigate 300d to Excel Sheet  .We dont have a Fortimanager to do this export .

Any idea please ?

 

Regards

    TuncayBAS
    TuncayBASAnswer
    Explorer
    Jul 27, 2018 7:10 AM UTC

    Full Config Export. One or multi device export

     

    http://www.tuncaybas.com/...ortigate-policy-export

    25 replies

    ahmedsf
    New Member
    Jul 22, 2018 8:46 AM UTC

    Hi,

     

    Use the CLI, run the configuration, copy the configuration and paste it in notepad. You can then take out the rules from the configuration and save it in Excel sheet.

     

    Regards,

    Elthon_Abreu
    New Member
    Jul 22, 2018 5:42 PM UTC
    Nicholas_Doropoulos
    New Member
    Jul 22, 2018 8:44 PM UTC

    Hi,

     

    Unfortunately, Fortinet has not made available a way to achieve the intended result seamlessly as of yet. What you can do is the following:

     

    1) Open an ssh session to the Fortigate via Putty and enable logging of the session's output by following the kb article below:

     

    http://kb.fortinet.com/kb/documentLink.do?externalID=FD36043

     

    2) The, type the following commands:

     

    config firewall policy 

    show

     

    3) Your firewall policies should now be included in the session's log you have created in step 1. Copy and paste the contents onto a spreadsheet.

     

    Thanks.

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT