On Tuesday 27 January 2004 09:17 am, Thomas W. Badera
wrote:> Hi all -
>
> I recently setup some bandwidth limiting on my firewall, but I want to make
> sure I''m doing things right. I''m pretty concrete on the
actual bandwidth
> limiting rules I setup, but what I''m unsure of is the marking
rules. Here
> are my current rules:
>
> 3:P 192.168.1.99 0.0.0.0/0 all
> 4:F 0.0.0.0/0 192.168.1.99 all
> 4 fw 192.168.1.99 all
>
> I''m trying to mark all uploads from 192.168.1.99 with a 3, and all
> downloads to 192.168.1.99 marked with a 4. Will the rules I have above
> catch everything? Or should I add more like this:
>
> 3:P 192.168.1.99 0.0.0.0/0 all
> 3:F 192.168.1.99 0.0.0.0/0 all
> 4:P 0.0.0.0/0 192.168.1.99 all
> 4:F 0.0.0.0/0 192.168.1.99 all
> 4 fw 192.168.1.99 all
>
You only need the first set of rules.
-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \ http://shorewall.net
Washington USA \ teastep@shorewall.net