classify config helper: sanewall-classify

5
sanewall-classify

sanewall-classify

classify traffic for traffic shapping tools

        classify
        class
        rule-params

## Description

The `classify` helper command puts matching traffic into the specified traffic shaping class.

The `class` is a class as used by `iptables` and `tc` (e.g. MAJOR:MINOR).

The ``rule-params`` define a set of rule parameters to match the traffic that is to be classified. See rule-params for more details.

Any `classify` commands will affect all traffic matched. They must be declared before the first router or interface.

## Examples

    # Put all smtp traffic leaving via eth1 in class 1:1
    classify 1:1 outface eth1 proto tcp dport 25

## See Also

- sanewall
- sanewall.conf
- administration tool for IPv4 firewalls: iptables(8)
- show / manipulate traffic control settings: tc(8)
- Linux Advanced Routing & Traffic Control HOWTO