Fortinet Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
laurathaqi
New Contributor

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

1 Solution
AlexC-FTNT
Staff
Staff

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


- Toss a 'Like' to your fixxer, oh Valley of Plenty! and chose the solution, too00oo -

View solution in original post

1 REPLY 1
AlexC-FTNT
Staff
Staff

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


- Toss a 'Like' to your fixxer, oh Valley of Plenty! and chose the solution, too00oo -