The knowledge of the OSI Model is important in IT.
As regards iptables, it functions on the Transport (4) , Network (3), and on the DataLink (2) layer.