I am trying to understand the packet flow diagram in the ref. manual.
After prerouting the package reach a decision point where it goes either to the input chain or the forward chain.
I read in the section "filtering" that the decison is based upon wether the package is addresses to IP belonging to one of the routers input interfaces - or not. And here is the point where I am getting really confused and I hope you can bring me out of my misery.
How would a package end up at the doorstep of my router if it is not addressed to an IP beloning to any of the interfaces of my router? is that related to e.g. a PC on my LAN trying to send a package to an external inter IP/URL i.e. an outgoing packet from a LAN PC addressed to an internet address is processed through the forward chain?
Any way just to test it I entered a filter rule in the forward chain to drop everything. This caused almost all traffic to stop and if above is true then the reason be that all traffic from my LAN to the internet was blocked - is that so? or was the inbound traffic blocked.
How is it with traffic initiated from inside and statefully controlled. Will return inbound traffic be processed through the input - or the forward chain.
Guy's - This keeps me awake at night and your comments and help will be sincerely appriciated.
Best regards, Pilgrim