Skip to main content
deleted 19 characters in body
Source Link
Ryan Lyu
  • 234
  • 1
  • 4
  • 11
  • iptables. I have went though the manual of Iptables and known some basic concepts, e.g. chain, table, hook, rule and targets. In the Linux ecosystem, iptables is a widely used firewall tool that interfaces with the kernel’s netfilter packet filtering framework.

  • route table. In Linux, there is another table route table.

I am trying to figure out the relation between them and put them in one big picture.

Here is a nice diagram to show the flow of iptables, there are two routingroute stages. in which step, will kernel take advantage of "route table"? the route step?

enter image description here

Reference

  1. DigitalOcean: A Deep Dive into Iptables and Netfilter Architecture
  2. I have read this question "StackOverflow: What's the difference between iptables vs route?", but it didn't answer my question.
  • iptables. I have went though the manual of Iptables and known some basic concepts, e.g. chain, table, hook, rule and targets. In the Linux ecosystem, iptables is a widely used firewall tool that interfaces with the kernel’s netfilter packet filtering framework.

  • route table. In Linux, there is another table route table.

I am trying to figure out the relation between them and put them in one big picture.

Here is a nice diagram to show the flow of iptables, there are two routing stages. in which step, will kernel take advantage of "route table"? the route step?

enter image description here

Reference

  1. DigitalOcean: A Deep Dive into Iptables and Netfilter Architecture
  2. I have read this question "StackOverflow: What's the difference between iptables vs route?", but it didn't answer my question.
  • iptables. I have went though the manual of Iptables and known some basic concepts, e.g. chain, table, hook, rule and targets. In the Linux ecosystem, iptables is a widely used firewall tool that interfaces with the kernel’s netfilter packet filtering framework.

  • route table. In Linux, there is another table route table.

I am trying to figure out the relation between them and put them in one big picture.

Here is a nice diagram to show the flow of iptables, there are two route stages. in which step, will kernel take advantage of "route table"?

enter image description here

Reference

  1. DigitalOcean: A Deep Dive into Iptables and Netfilter Architecture
  2. I have read this question "StackOverflow: What's the difference between iptables vs route?", but it didn't answer my question.
Source Link
Ryan Lyu
  • 234
  • 1
  • 4
  • 11

During the lifecycle of "iptables", in which step, will kernel take advantage of "route table"?

  • iptables. I have went though the manual of Iptables and known some basic concepts, e.g. chain, table, hook, rule and targets. In the Linux ecosystem, iptables is a widely used firewall tool that interfaces with the kernel’s netfilter packet filtering framework.

  • route table. In Linux, there is another table route table.

I am trying to figure out the relation between them and put them in one big picture.

Here is a nice diagram to show the flow of iptables, there are two routing stages. in which step, will kernel take advantage of "route table"? the route step?

enter image description here

Reference

  1. DigitalOcean: A Deep Dive into Iptables and Netfilter Architecture
  2. I have read this question "StackOverflow: What's the difference between iptables vs route?", but it didn't answer my question.