No PREROUTING for OUTPUT?
The routing decision is done after OUTPUT chains in both nat and mangle tables, and before POSTROUTING of course. Is this what you meant?
Quoted 8 lines · Kenneth Porter
Can anyone confirm that the PREROUTING chain is absent from the OUTPUT packet path? I wanted to tag my UDP packets with TOS Minimize-Delay so that they'd go in my high-priority traffic shaping queues, but if PREROUTING isn't used in the output path, the packets can't be tagged until after they've been through the shaper. (Isn't the shaper part of "routing decision" in the diagrams?)
Signature · 1 line
Bla bla
Quoted 3 lines · --On Sunday, October 17, 2004 11:31 PM +0300 George Alexandru Dragoi…
The routing decision is done after OUTPUT chains in both nat and mangle tables, and before POSTROUTING of course. Is this what you meant?
Ah, so for the output path, I need to use "-t mangle -A OUTPUT" instead of "-A PREROUTING"? I just need to add the extra rule, then.
-t mangle -A OUTPUT
or
-t nat OUTPUT
or
-A OUTPUT (same with -t filter -A OUTPUT)
Depends on what you need to do.
Quoted 11 lines · Kenneth Porter
--On Sunday, October 17, 2004 11:31 PM +0300 George Alexandru Dragoi
Quoted 3 lines · <[email protected]> wrote:
The routing decision is done after OUTPUT chains in both nat and mangle tables, and before POSTROUTING of course. Is this what you meant?
Ah, so for the output path, I need to use "-t mangle -A OUTPUT" instead of "-A PREROUTING"? I just need to add the extra rule, then.
Signature · 1 line
Bla bla