Skip to main content
laurathaqi
Visitor III
January 25, 2022
Solved

Automated script - execute Backup - Fortigate

  • January 25, 2022
  • 1 reply
  • 2429 views

Dear community 

 

I want to execute the following:

 -> execute backup config tftp backup-stitch.conf 100.100.100.100

 

But I need to change the source-ip of the firewall from were the backup script is triggered. Is there a way to change the source-ip in this script? 

 

Thank you,

Laura

Best answer by AlexC-FTNT

If dedicated management interface is not enabled, your backup is sent according to the routing table and can't be changed from the command that you run:
get router info routing-table detail 100.100.100.100

*C / *S  >> this tells you the interface taken by the traffic
If you want this changed, you need to add a static route in the routing table for that particular IP, pointing to another interface

1 reply

AlexC-FTNT
Staff
Staff
January 26, 2022

If dedicated management interface is not enabled, your backup is sent according to the routing table and can't be changed from the command that you run:
get router info routing-table detail 100.100.100.100

*C / *S  >> this tells you the interface taken by the traffic
If you want this changed, you need to add a static route in the routing table for that particular IP, pointing to another interface