Hi,
I mark packets this way:
iptables -t mangle -I PREROUTING -p icmp -s 192.168.0.2 -d 0/0 -j MARK
--set-mark 0x2
This workes correctly.
Next I try to log these marked packets with ULOG target:
iptables -t mangle -I POSTROUTING -m mark --mark 0x2 -j ULOG
--ulog-nlgroup 1 --ulog-prefix MARKtest
but this rule doesn't work.
However, if I use FORWARD chain packets are logged.
Could you tell me the reason?