1.On interface outgoing to internet: NAT is done before shaping. You must mark your packets in mangle table and then shape by mark using tcng. 2.On interface outgoing to LAN: You can shape by local address. Good Luck. P.S: You must shape two ways out because your connetcion get overflow. ----- Original Message ----- From: "Joost Kraaijeveld" <J.Kraaijeveld@xxxxxxxxxx> To: "Lartc (E-mail)" <lartc@xxxxxxxxxxxxxxx> Sent: Saturday, September 18, 2004 9:53 AM Subject: TCNG on a Linux NAT router question Hi all, I want to apply traffic control using TCNG 1.30 on a NAT router. Can I use the IP addresses on my LAN to shape the traffic on the outgoing interface, with other words, does the address translation take place before or after traffic control? (Or does it depend and if so, on what?) Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail: J.Kraaijeveld@xxxxxxxxxx web: www.askesis.nl _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/