2009/10/7 Robin Wood <robin@xxxxxxxxxxxxx>: > Hi > I'm trying to setup a transparent proxy so I've got a linux device > with two NICs which are bridged using brctl. Traffic flows happily > across the bridge so I know it is working fine. > > Now when I try to setup the iptables rules they are being ignored. The > rule I want to use is: > > iptables -t nat -A PREROUTING -i br-lan -p tcp --dport 80 -j REDIRECT > --to-port 3128 > > but nothing gets redirected. I've also tried changing 3128 to a port > that is closed to see what would happen, nothing, the packets kept > flowing. Various people have suggested using ebtables rather than iptables because I want to act on traffic over the bridge rather than between interfaces. If this is correct, how would I rewrite the above rule in ebtables speak? Robin -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html