Re: [LARTC] How to MARK NATtted packets coming from external interface to an internal host ?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 13, 2001 at 10:27:37AM -0200, Claudio L. Salvadori wrote:
> Hi,
> 
> I would like to control download bandwidth from the Internet for
> clients inside a network. The gateway is a Linux box using
> 'iptables nat'.
> I would like to use 'iptables mangle' to mark the packets coming
> from the Internet and going to specific clients and then use CBQ
> to shape it:


Mangle is being upgraded by the netfilter people to be available everywhere.
In he meantime, you should use tc filters to shape on eth0's egress. For
what you want, the commands are very simple.

> How can I classify this traffic so I can shape it ?

http://ds9a.nl/lartc/HOWTO//cvs/2.4routing/output/2.4routing-9.html#ss9.6
'All the filtering commands you will normally need'.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux