problem in ebtables '-i' option
tony vong <tonyvong2002-/[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.user,gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi My linux box has two ports eth0 and eth1. I have already configured br0 and added eth0 and eth1 to br0. I want to redirec http traffic coming in from eth0 to the upper layer ip code. So I used the following two commands: 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 However, I noticed that the http traffic coming in from eth1 also got redirected to upper layer IP code. Is this a bug or what ? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- 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