iptables -j MARK

Pavel harry_x Palát harry_x na babylon5.cz
Pátek Září 12 10:13:21 CEST 2003


Dobry den,

> snažím se rozjet omezování provozu na routeru (jádro 2.4.21).
> podle návodu na http://www.root.cz/clanek/1795 zadávám:
>
> root na router # iptables -t nat -A PREROUTING -j MARK --set-mark 4
> iptables: No chain/target/match by that name
> root na router # iptables -t mangle -A POSTROUTING -j MARK --set-mark 4
> iptables: No chain/target/match by that name
> a různé kombinace POSTROUTING, PREROUTING, nat, mangle

MARK je pouzitelny jen v table mangle. Mimochodem, mel byste mit natazeny
modul ipt_MARK pro pouziti -j MARK v iptables.

Pavel Palát

--
Pavel "harry_x" Palát
    harry_x na babylon5.cz
    irc: #mistral.cz on IRCnet

    The only way of finding the limits to the possible is by going beyond them to the impossible
                                                  Arthur C. Clark


Další informace o konferenci Linux