Skip to main content
laurathaqi
Visitor III
Jan 25, 2022 3:22 PM UTC
Solved

Automated script - execute Backup - Fortigate

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

AlexC-FTNT
Staff
Jan 26, 2022 12:21 PM UTC

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
Jan 26, 2022 12:21 PM UTC

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

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT