Community discussions

 
neutronlaser
Member Candidate
Member Candidate
Topic Author
Posts: 212
Joined: Thu Jan 18, 2018 5:18 pm

Output, postrouting or forward?

Mon Mar 25, 2019 9:17 pm

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?
 
anav
Forum Guru
Forum Guru
Posts: 3122
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada

Re: Output, postrouting or forward?

Mon Mar 25, 2019 9:41 pm

I will quote a famous poster who recently replied on a thread........
"The right one."
I'd rather manage rats than software. Follow my advice at your own risk! (Sob & mkx forced me to write that!)
 
neutronlaser
Member Candidate
Member Candidate
Topic Author
Posts: 212
Joined: Thu Jan 18, 2018 5:18 pm

Re: Output, postrouting or forward?

Mon Mar 25, 2019 9:52 pm

as useful as mikrotik
 
2frogs
Long time Member
Long time Member
Posts: 540
Joined: Fri Dec 03, 2010 1:38 am

Re: Output, postrouting or forward?

Mon Mar 25, 2019 10:12 pm

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.

Who is online

Users browsing this forum: No registered users and 30 guests