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

Firewall Packet Processing

Hello,

Normally when a packet comes to FortiGate, firewall follows the way 

https://docs.fortinet.com/document/fortigate/6.4.0/parallel-path-processing-life-of-a-packet/86811/p...

 

What about the answer packet that comes to same session ? Here is the scenario

1- I sent a FTP Put Request to a server, that packets goes over the firewall 
2- Firewall process the first packet based on the the parallel path processing like in the link that i have shared. Create a session and sent packet out to FTP Server based on routing table

3- Then server response with FTP Put Response, paket goes over firewall to FTP client again
--> at this third step how does firewall process packet ? I believe it checks the session first and when there is a session how is the next steps ? do we have a link that fortigate shows that? Because i believe that packet will be forwarded out of interface that packet comes to firewall and does firewall check in session details ? then look at the routing table ?

As i said i need a link or explanation about processing steps of the return packets in a FortiGate

 

2 REPLIES 2
spoojary
Staff
Staff

When it returns to the FortiGate, the firewall verifies that a response packet for an already-established session matches the packet with the current session. Upon identifying the session, the firewall proceeds to forward the packet by utilizing the pre-existing session data, including policies and routing. The packet is routed out of the interface it entered if it matches an already-open session. Any security checks that are required, like DoS prevention, IP header verification, and policy enforcement, are carried out via the firewall. Next, the packet is sent to the right place using the routing table as a required security checks

Siddhanth Poojary
FKuecuek
New Contributor

Hello Spoojary,

Thank you for your answer. So at this case, does Firewall checks routing table/ fib -> forwarding base to see outgoing interface and review the route info.

What would be the case if the scenario looked like this?

1- "Upon identifying the session, the firewall proceeds to forward the packet by utilizing the pre-existing session data, including policies and routing. The packet is routed out of the interface it entered if it matches an already-open session."

2- But the route to desination address of the response indicates another interface...

I believe in this scneario firewall chooses route interface ?

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors