Closed sognern closed 5 months ago
Hi @sognern ,
It looks like vpn-tunnel
doesn't exist, I don't see there is a way to create a vpn tunnel on fmg, so you may need to choose a port as a device.
Thanks, Maxx
It's an interface mapped to vpn phase 1. Creating a test manually in fortimanager where I choose the mapped interface works. Terminal on the gate says this after creation;
config router static edit 2 set dst 10.0.0.0 255.255.192.0 set device "vpn-tunnel" set comment "azure services" next end
Hi @sognern ,
Thank you for your information, your CLI commands looks like run on the FGT, but resource "fortimanager_system_route" is used to configurate fortimanager's route setting, and unfortunately I don't find a resource to config FGT static router through FMG
, but we can set FGT static router through script function on FMG. Instruction is here, let me know if I misunderstand your question.
Thanks, Maxx
Hi everyone,
I will proceed with closing this case. If you continue to experience any issues, please feel free to reopen it or open a new case.
Thank you, Maxx
I'm trying to create a static route, running fortimanager; v7.2.2-build1334 230201 (GA);
resource "fortimanager_system_route" "test" { device = "vpn-tunnel" dst = [ "10.0.0.0", "255.255.192.0", ] seq_num = 200 }
Error: Error creating SystemRoute resource: err -60003: [entry not exist]