All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Packet marking for ingress shapping and NET
@ 2004-05-10 10:10 Patrick Spousta
  2004-05-10 10:59 ` Andreas Klauer
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Patrick Spousta @ 2004-05-10 10:10 UTC (permalink / raw)
  To: lartc

Hi,
I have typical situation, local LAN with private addresses, translated 
via NAT to internet. I need to shape ingress traffic (from internet to 
local LAN) in several HTB queues accorting to destination (private not 
public) IP. So I need mark packets to divide them to corresponding 
queue. According to http://www.docum.org/stef.coene/qos/kptd/ I thing I 
have only one way how to do it, because MARK in PREROUTING is before (de)NAT

PREROUTING (de)NAT
               V
FORWARD    marking
               V
FORWARD   put to IMQ
               V
          HTB shapping
               V
        routing decision
               V
        output interface

It has a small problem. After PREROUTING some packets are routed to 
INPUT (packets intended for this machine for local processes)

Does exists solution how to NAT and MARK in PREROUTING, but in this order?

Patrick

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2004-05-11 13:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-10 10:10 [LARTC] Packet marking for ingress shapping and NET Patrick Spousta
2004-05-10 10:59 ` Andreas Klauer
2004-05-10 12:06 ` Andy Furniss
2004-05-10 12:31 ` [LARTC] Packet marking for ingress shapping and NAT Patrick Spousta
2004-05-10 12:35 ` [LARTC] Packet marking for ingress shapping and NET Patrick Spousta
2004-05-10 13:48 ` Andy Furniss
2004-05-10 20:09 ` Andy Furniss
2004-05-11  4:25 ` [LARTC] Packet marking for ingress shapping and NAT Patrick Spousta
2004-05-11 13:13 ` Andy Furniss

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.