Recently I am learning iptables, I know there are 5 independent tables, two of them are filter and nat tables. And I sometimes will look at netatat -r or route table, I know ip command can modify this routing table. I am a bit confused about these 2 kinds of tables:
- routing table
- nat and filter tables
They all can do something on packet traffic and looks they can do similar things, can someone tell me what are the differences? Thanks in advance.