Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ftntconfig

Disclaimer :

This is not a Fortinet official product. It is provided as-is without official support.
I have made this tool for my own use. It can be used at your own risk.

Author :

Cedric GUSTAVE

Description :

ftntconfig is a simple python library to automate Fortinet device configuration. It has been created for lab testing scenario where Fortinet devices requires configuration loops. All configuration is done through an SSH connection. It is an evolutive framework where each new configuration requirement can be added in an organized framework. Each device configuration section is accessed through a corresponding attribut: Example to access 'config firewall policy' section:

from ftntconfig import Ftntconfig
fgt = Ftntconfig(ip='10.5.51.200', port='22', user='admin', password='', debug=True)
fgt.firewall.policy()

For more details on the configuration syntax, refer to corresponding module:

ftntconfig_firewall.py : config firewall

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages