On Sun, Aug 8, 2010 at 11:29, Tom Eastep <[email protected]> wrote:
> On 8/8/10 6:23 AM, Mariano Absatz wrote:
>> On Sat, Aug 7, 2010 at 11:39, Tom Eastep <[email protected]
>> <mailto:[email protected]>> wrote:
>>> But using complex traffic shaping, it is easy to do what you want.
>>>
>>> a) Specify the limit you want in the OUT-BANDWIDTH column for your
>>> outgoing interface.
>>>
>>> b) Define a single default class that can use all of that limit.
>>>
>> So... if I put back in *shorewall.conf *the:
>>
>> *TC_ENABLED=Internal*
>>
>> line and put into *tcdevices*:
>>
>> *1:eth0  1750kbit  1750kbit*
>>
>> and into *tcclasses*:
>> *
>> eth0 - FULL FULL 3 default*
>>
>> that would be enough?
>
> a) Don't capitalize 'full'. This is Unix -- everything is
>   case-sensitive.
> b) I would put full/2 in the RATE column, just to be safe. Since there
>   is only one class, there is no need to guarantee any more.

Well, apparently using "-" for the MARK field in tcclasses is an error
in this context:
   ERROR: Missing MARK : /etc/shorewall/tcclasses (line 11)
I changed that field to a "1".

Do I have to add the tcrules file? I wrote one like this:
1 0.0.0.0/0 0.0.0.0/0 all

but shorewall compiles everything with it and without it also.

-- 
Mariano Absatz - El Baby
www.clueless.com.ar

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to