Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iptables: what is a chain?

I've been reading about iptables for hours and I still don't understand what is it that they're calling a "chain". I see this word everywhere in the doc and in tutorials and it's still fuzzy to me what they're talking about. What's a chain?

like image 697
John Smith Optional Avatar asked Oct 15 '25 12:10

John Smith Optional


1 Answers

Chain is nothing but sequence of filter rules maintained by iptables.

  • INPUT Chain : For packets coming into the system or destined for the system.
  • FORWARD Chain : For packets travelling (being routed) through the system.
  • OUTPUT Chain : For packets leaving the system or originating from the system.

To know more about IPTABLES, Visit an article my Linux Blog:

like image 93
Mandar Shinde Avatar answered Oct 17 '25 05:10

Mandar Shinde



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!