Skip to main content
solidblueliquid
New Member
May 8, 2018
Question

Can we update firewall rules from external files?

  • May 8, 2018
  • 2 replies
  • 3565 views

Hi Everyone,

 

I constantly have to update our firewall for external monitoring systems when they change IP addresses. Normally this is just one of two addresses, but sometimes it can be 10 or more. Is there a way to import them from a file?

    2 replies

    Bubu
    New Member
    May 8, 2018

    Yes you can: http://help.fortinet.com/fconverter/5-2-0_revision3/Content/FortiConverter/user-guide/F_Importing/import_config_fgate.htm

     

    You have to set up a template for FortiGate and use the same file for each transfer.

    At your disposal for further info

    BR

    Bubu

    cjw
    New Member
    May 10, 2018

    I think the best way to accomplish this would be use the API. You can load scripts and run those as well, but I think changing address objects via the API is the best way to go.

     

    You need a developer account to get access to API docs, but there are some people who have created some simple tools on GitHub that might accomplish what you need.