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
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Full Config Export. One or multi device export
http://www.tuncaybas.com/...ortigate-policy-export
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 FCNSA v5
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.
NSE5, CCSE, CCNA R&S, CompTIA A+, CompTIA Network+, CompTIA Security+, MTA Security, ITIL v3
What version of FortiOS does that work for? I'm trying on a 600C with 5.0 firmware and it doesn't recognize that command. I'm just trying to get to a point I can export the firewall rules for one of our customer VDOMs, and it seems like this is quantum physics.
Hello ,
Thanks to All .
I tried the Script http://firewallguru.blogs...-rules-to-csv.html?m=1 but it's not supporting if i have a huge rules data .it was working for the few entries but in my case i have more than 1500 rules .
Any Help please ?
Regards
Hi,
Have you thought about segmenting your rules in small blocks at a time?
Then you can export all rules to excel and merge all of them.
BR,
Elthon Abreu FCNSA v5
I can do this but i manage many firewalls .So i'm looking for an express procedure :)
Thanks
Express procedure = FortiManager :)
Elthon Abreu FCNSA v5
If you plan to use that perl script - keep in mind that you can save an unencrypted fgt configuration file then open it in a text/word processor that understands unix/linux line feed only text files. After this, just look for the firewall policy rule section and copy/paste that into smaller chucks that can be properly parsed by that perl script.
Edit: is there some grand design that you need to have the firewall rules parsed/converted?
NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1711 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.