[OpenWrt-Devel] byte counters for IP address using IPTABLES

INYO L chokyeung at yahoo.com
Wed Feb 4 08:48:30 EST 2015


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 ACCEPTiptables -I FORWARD -d 192.168.2.226 -j ACCEPTiptables -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 at WirelessRouter:/tmp/logs# iptables -nxv -L FORWARDChain 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.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150204/dabed864/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.png
Type: image/png
Size: 10225 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150204/dabed864/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.jpg
Type: image/jpeg
Size: 148856 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150204/dabed864/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.png
Type: image/png
Size: 10589 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150204/dabed864/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.png
Type: image/png
Size: 46975 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150204/dabed864/attachment-0002.png>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list