On 2/22/07, francesco messineo <[EMAIL PROTECTED]> wrote:
# iptables -t mangle -A POSTROUTING -m mark  --mark ! 0 -j ACCEPT

iptables v1.3.3: Bad MARK value `!'


I'm puzzled, what's wrong with this syntax?
kernel is 2.6.15.7-ubuntu1

also tried with a 2.6.20.1 compiled from source and same result.
I can't make also work these two rules:


iptables -t mangle -A POSTROUTING -j CONNMARK --save-mark

iptables -t mangle -A PREROUTING -j CONNMARK --restore-mark

both fail with:

iptables: Invalid argument

what's wrong?

Thanks
Francesco
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to