Marek 'Marecki' Szuba
Marek Szuba <email@example.com>
Wed, 13 Jun 2001 00:36:14 +0200 (MET DST)
On Tue, 12 Jun 2001, Aleksander Bastl wrote:
> We use one router/FW machine between Internet and local net. How I can
> assure bandwidth for WWW and use only remainder bandwidth for mail, IRC
> and FTP. Can I make IP based rules or only ports.
You can make your rules match specific ports, it is described quite
clearly on the man page and in HOWTOs (hint!). However, what you need here
is a completely different thing called QoS (Quality of Service). The only
thing you can do here with iptables is TOS tweaking, which:
- basically affects only outgoing packets,
- depends on whether the foreign routers actually check TOS,
- makes only a minor difference.