Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Azuriste
New Contributor

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

1 Solution
TuncayBAS

Full Config Export. One or multi device export

 

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

Tuncay BAS
RZK Muhendislik Turkey
FCA,FCP,FCF,FCSS

View solution in original post

Tuncay BASRZK Muhendislik TurkeyFCA,FCP,FCF,FCSS
25 REPLIES 25
rwpatterson
Valued Contributor III

With Peter's blessing, I have created an online version of his script. So far it only converts the policy list into a text format. More to come.

 

Bob

 

fortinet.camerabob.com/config.cgi

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
rwpatterson
Valued Contributor III

The script is more robust now. You can ALMOST rebuild a moderately sized firewall from the output and to the outside world it it far more readable.

 

http://fortinet.camerabob.com/config.cgi

 

Bob

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
rwpatterson
Valued Contributor III

Corrected the display of Identity Based Policies within a policy.

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
muarkh

Hi Guys,

 

I am using the script in https://www.brg.ch/dump-fortigate-config-into-csv/ Can anyone please advise the path I need to keep my config file in ?

 

I have specified the path but it is giving an error that i cannot read the file

 

fortigate-extract.pl --config <C:\Users\...........> --csv [--debug] cannot read : No such file or directory

 

brudy
New Contributor II

 

Do not use the "<>" brackets.

__
Peter Bruderer
__Peter Bruderer
rbilan71

elthon.abreu wrote:

Express procedure = FortiManager  :)

 

I am in the Fortimanager > 5.6 > Policy Packages > (FW-01) 

I can filter the policies same as in the FG FW but there is no option or button to tick or menu to select in order to export the policies to a csv or excel file.

 

Can you clarify the steps?

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors