Firewall – How to know at what OSI Layer(s) does a firewall operate

firewallosi

I understand that Firewalls may operate on different OSI layers depends on the firewall itself.
but how can I know if I install specific firewall at what OSI Layer(s) it does operate ?

Best Answer

Since firewalls essentially filter data, the answer depends on what kind of filtering you do.

If you filter based on IP address (for example), you can say that your firewall is filtering at layer 3. If you filter specific ports, you can say you're filtering at layer 4. If your firewall inspects specific protocol states or data, you can say it operates at layer 7.

The truth is that most firewalls do all these things in combination. So practically speaking there really is no useful answer to your question.

May I suggest you also read this question about the OSI model.