Is this router doing SNAT? If so, these packets are likely being mangled by connection tracking before they get matched by the filter.

Charlie


On 04/02/15 13:48, INYO L wrote:
hi,

I have some trouble about the openwrt system, and the linux kernelver-3.10.49 , iptables version 1.4.21 (barrier_breaker r44257)

iptables -I FORWARD -s 192.168.2.226 -j ACCEPT
iptables -I FORWARD -d 192.168.2.226 -j ACCEPT
iptables -nxv -L FORWARD

When I sufing the Internet, the kernel can't get the bytes from source(0.0.0.0/0) to destination(192.168.2.226) .
Why ?

root@WirelessRouter:/tmp/logs# iptables -nxv -L FORWARD
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination 0 0 ACCEPT all -- * * 0.0.0.0/0 192.168.2.226 14 896 ACCEPT all -- * * 192.168.2.226 0.0.0.0/0 101 4724 delegate_forward all -- * * 0.0.0.0/0 0.0.0.0/0

But, I used the kernel-ver-3.10.36 (barrier_breaker r40976), it works!

Attachment is a few screenshot.

thanks a lot.



_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to