...
Now, let's take our first example where packet gets routed over the router and look deeper through what facilities packet goes:
Section |
---|
Column |
---|
| We already learned that packet goes into in-interface, the router determines that it is an IP packet and need to be routed, and here starts the complicated process: - The packet enters prerouting processing:
- check if there is a hotspot and modify the packet for hotspot use
- process packet through RAW prerouting chain;
- send the packet through connection tracking;
- process packet through Mangle prerouting chain;
- process packet through NATs dst-nat chain;
- Run packet through routing table to make routing decision;
- The packet enters forward process;
- check TTL value;
- process packet through Mangle forward chain;
- process packet through Filter forward chain;
- send the packet to accounting processes;
- A packet enters postrouting process;
- process packet through Mangle postrouting chain;
- process packet through NATs src-nat chain;
- if there is a hotspot undo any modifications made in hotspot-in;
- process packet through queue tree (HTB Global);
- process packet through simple queues;
- Check if there is IPsec and then process through IPsec policies;
|
Column |
---|
|
|
|
...