-3

I am currently studying iptables. So far all the articles and howtos I have found on google/duckduckgo has only ever mentioned routing on incoming packets (passing the INPUT och FORWARD chain). I find this strange. Routing must be applied to outgoing packets (passing the OUTPUT chain) as well, right? How else does the kernel know what interface to send them to!?

3
  • 2
    See the kernel routing table and route add documentation.
    – Reaces
    Feb 25, 2015 at 8:23
  • 1
    I'm voting to close this question as off-topic because it belongs on another site in the Stack Exchange network, but it needs to be improved before it is worth migrating.
    – kasperd
    Feb 25, 2015 at 9:32
  • This schematic from this article is helpful.
    – fuumind
    Feb 26, 2015 at 7:40

1 Answer 1

1

That is the primary purpose of the routing table -- to determine how to get outbound packets TCP/IP packets on to their destination.

Not the answer you're looking for? Browse other questions tagged .