Page 1 of 1

Output, postrouting or forward?

Posted: Mon Mar 25, 2019 9:17 pm
by neutronlaser
If I'm trying to make a Mangle rule to mark packets that are being sent from a VOIP phone on my network to a server on the internet, should I be using the Output, Postrouting, or Forward chains?

Re: Output, postrouting or forward?

Posted: Mon Mar 25, 2019 9:41 pm
by anav
I will quote a famous poster who recently replied on a thread........
"The right one."

Re: Output, postrouting or forward?

Posted: Mon Mar 25, 2019 9:52 pm
by neutronlaser
as useful as mikrotik

Re: Output, postrouting or forward?

Posted: Mon Mar 25, 2019 10:12 pm
by 2frogs
Input/Output rules are to/from the router itself. And generally, prerouting is used if a routing decision is to be made by he mangle rule. Most other rules will use forward.