|Version 4 (modified by 15 years ago) ( diff ),|
Make sure that Vuurmuur knows the location of the 'tc' binary. To do this in vuurmuur_conf go to 'Vuurmuur Config -> General' and set the 'Tc location'.
Enable shaping for every interface you want to use the traffic shaping on. Set the bandwidth of the interfaces you want to use shaping on. Currently (0.6rc1) you can only use shaping with real (non-virtual) interfaces. Go to a interface and press F6. There the bandwidth of the interface can be entered in 'kbit' or 'mbit'. If you have a 100mbit connection, set 100mbit here. This setting is not used to limit the speed, so just set the maximum. The shaping rules depend on this setting being correct.
In the rules the shaping settings are further defined. Shaping in Vuurmuur is integrated with the existing rules. To setup shaping for a certain rule go edit the rule and then press F6. Here you can set 5 settings:
- Incoming guaranteed rate: this the bandwidth per second that is reserved for this rule in the direction from destination to source. The bandwidth is used by other rules if this rule doesn't (fully) use it.
- Incoming maximum rate: the maximum speed a rule can use.
- Outgoing guaranteed rate: this the bandwidth per second that is reserved for this rule in the direction from source to destination. The bandwidth is used by other rules if this rule doesn't (fully) use it.
- Outgoing maximum rate: the maximum speed a rule can use.
- Priority: the priority of the traffic. Default traffic has priority 3.
The speed can be set in 'kbps' (kilobyte per second), 'mbps' (megabyte per second), 'kbit' (kilobit per second) and 'mbit' (megabit per second).
See these posts for more info: