Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
* [Cake] Using cake on IMQ interfaces: when to use the "nat" option?
@ 2018-02-14  9:13 Funshun Wang
  2018-02-14  9:17 ` Jonathan Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Funshun Wang @ 2018-02-14  9:13 UTC (permalink / raw)
  To: cake

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

I have redirected upload traffic to imq0 by using IMQ in the PREROUTING chain and download traffic in the POSTROUTING chain to imq1. 




Upload traffic --> -i br-lan+tun --> imq0 


Download traffic --> -o br-lan+tun --> imq1 




IMQ module is set to before NAT in PREROUTING and after NAT in POSTROUTING. 




So on which interface should I enable the "nat" option, imq0, imq1, both or none? 




Thanks. 























[-- Attachment #2: Type: text/html, Size: 1508 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Cake] Using cake on IMQ interfaces: when to use the "nat" option?
  2018-02-14  9:13 [Cake] Using cake on IMQ interfaces: when to use the "nat" option? Funshun Wang
@ 2018-02-14  9:17 ` Jonathan Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Morton @ 2018-02-14  9:17 UTC (permalink / raw)
  To: Funshun Wang; +Cc: cake

> On 14 Feb, 2018, at 11:13 am, Funshun Wang <qydwhotmail@gmail.com> wrote:
> 
> So on which interface should I enable the "nat" option, imq0, imq1, both or none? 

Both.  This ensures Cake sees the correct internal IP addresses, which are relevant for the various "dual", "triple" and "host" flow-modes.

 - Jonathan Morton


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-14  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-14  9:13 [Cake] Using cake on IMQ interfaces: when to use the "nat" option? Funshun Wang
2018-02-14  9:17 ` Jonathan Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox