Bug in documentation or my wrong? (Inter-VDOM routing)
I try to understand the Inter-VDOM routing example at https://docs.fortinet.com/document/fortigate/6.2.4/cookbook/335646/inter-vdom-routing
In the example VDOM "Sales" connects to VDOM "root" via vdom-link "SalesVlnk".
The two interfaces are "SalesVlnk0" (on VDOM "Sales" side) and "SalesVlnk1" (on VDOM "root" side).
Nothing fancy here and I understand all of it (perhaps except the p2 and p3 IP addresses as they to not correspond with the picture in the example), until it comes to the policies.
The firewall policies in that example puzzle me. I believe those are wrong. But I might be mistaken? Please help me understand. It seems to me that the policies are completely garbled, though. For example the Sales VDOM related ones (this is from the content of above link):
To configure the firewall policies from SalesLocal to the Internet:
config vdom
edit root <<< should that not be "Sales"?
config firewall policy
edit 6
set name "Sales-local-to-Management"
set srcintf port2 <<< port2 is assigned to other VDOM in example.. correct port would be port 3
set srcaddr all
set dstintf SalesVlnk <<< I can't select this interfac, should that not be "SalesVlnk0" or "SalesVlnk1"?
set dstaddr all
set schedule always
set service ALL
set action accept
set logtraffic enable
next
end
next
edit Sales <<< should be "root" I think
config firewall policy
edit 7
set name "Sales-VDOM-to-Internet" <<< according to this, this policy should be on VDOM root, right?
set srcintf SalesVlnk <<< Can't select this as interface. This is the vdom-link... which is the correct interface?
set srcaddr SalesManagement <<< what address might that be? I'd guess
set dstintf external
set dstaddr all
set schedule always
set service OfficeServices
set action accept
set logtraffic enable
next
end
next
end
This is just an excerpt. Up to the firewall policies, it makes sense.. then, it doesn't.. for me..
I have a FG100F with 6.4.3, but the documentation is based on 6.2.4. I might not be able to do some of that due to version changes, but I frankly believe the example is wrong. I compared to other versions. They are slightly different, but all of them seem incorrect to me.
As I urgently need to understand how this works, would someone please provide me with a correct example?
or.. correct me if I'm wrong?
Thanks
Daniel
