Python Script to Backup a Fortigate Firewall

preview_player
Показать описание
This script is using the Python library Netmiko to SSH to the firewall, run a command, and save the output to a file.

Thank you for watching!

Рекомендации по теме
Комментарии
Автор

Thanks. This is helpful especially the FortiGate autobackup script does not have options of saving multiple copies on a remote SCP server

esamalaslmy
Автор

Good presentation for that, you making easy this way! Congrats

diegosouza
Автор

You forgot to disconnect your SSH session after writing output to a file i.e., "net_connect.disconnect()". It's a good programming practice to avoid open sessions.

afara
Автор

Hello, are there videos about automating bulk rules in Fortinet? via Python?

rodolfolavandino
Автор

Do u know how to parse a config file using python, basially the config file is in kind of lua format and its in linux env

pk
Автор

thx for the script, but does your .cfg file break somewhere after - - More - - ? this page breaking really bothers me

yujared
Автор

Dear,

Are you able to sent me the script?
Would be lovely!

Thanks in advance!

joshuabergman
Автор

Hey, mate! Do you have this code somewhere in Git?

yarikvadila
visit shbcf.ru