You need the bridge firewalling patch to be able to do anything with bridging in combination with netfilter (iptables) at all.
On Thu, Mar 14, 2002 at 02:31:31PM -0700, Mike Walker wrote: > I have a problem with the Linux 2.5.6 kernel. I have three ethernet cards, > eth0 eth1 and eth2. Eth0 is connected to my lan using IP a.a.a.a, and eth1 > and eth2 are used for my bridge, and my bridge has the IP b.b.b.b. I do > firewalling on the bridge too. The bridge firewalling works fine. I want > to redirect any telnet traffic going through the bridge to the linux box. > But, when I try to do this: > iptables -t nat -A PREROUTING -i ! eth0 -p tcp -d 0/0 --dport 23 -j > DNAT --to b.b.b.b > it doesn't work. When I try to telnet to some server behind the bridge > firewall I should get the Linux telnet login, but what I get it connection > failed, connection refused. I have input output and forward policies all > set to accept. I have IP forwarding turned on. I have a telnet server > running. If I telnet directly to b.b.b.b I get a login. Why does this not > work? > _______________________________________________ Bridge mailing list [EMAIL PROTECTED] http://www.math.leidenuniv.nl/mailman/listinfo/bridge
