FortiGate Packet Flow: How a Packet Moves Through the Firewall (Free PDF)
A FortiGate processes every packet in a fixed order: interface and TCP/IP stack, DoS policy, header check, IPsec decryption, admission control, then the kernel (destination NAT, routing, policy lookup, session), UTM inspection, source NAT, IPsec encryption, shaping and exit.