mixed use of ebtables/iptables
tony vong <tonyvong2002-/[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.user,gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <[email protected]> |
bash# ebtables -t broute -i eth0 -A BROUTING -p IPv4 --ip-protocol 6 --ip-destination-port 80 -j redirect --redirect-target ACCEPT bash# iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT --to-port 3128 If I am correct, the two statements above should only direct http traffic coming in from eth0 to IP layer. In other words, ip tables logging should not display http traffic coming in from eth1. But I am still seeing, in the iptables logging file, http traffic that arrives from from eth1! Why is http traffic coming in from eth1 still being passed to iptables layer ??? __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click