Skip to main content
MarkusWestphal
New Member
February 15, 2017
Question

FortiGate API Documentation in DevNet?

  • February 15, 2017
  • 1 reply
  • 4163 views

Hi, I'm considering to purchase a FortinetDeveloperNetwork subscription as I intend to use the legendary API to start, stop and monitor VPN tunnels from a custom Dashboard.

Basically, I'd like to use the API for things like "diagnose vpn tunnel down <name>", getting status infos etc.

 

So, before I subscribe to FNDN, my question is: Does the API support such functions?

 

Thanks a lot in advance and best regards,

Markus

    1 reply

    pcraponi
    New Member
    February 16, 2017

    Hi,

     

    I believe that the API will be free in a near future :)

     

    About you question: Yes. Have it...

     

    /vpn/ipsec/tunnel_up/ and /vpn/ipsec/tunnel_down/

    Extra Parameters: p1name - string - IPsec phase1 name.

     

    Regards,

    Paulo Raponi, NSE8

    MarkusWestphal
    New Member
    February 16, 2017

    Hi, thanks a lot Paulo. That makes me quite confident that this is the way to go. Any more details about that "near future"? But I guess that's already asked too much :)

     

    Thanks again!

    Markus