Skip to contentSkip to conversation

Disable netfilter for bridged traffic

LARTC senthil 3 participants 4 messages Dec 20, 2006 – Jan 31, 2007

lore
Share & tools
lore
#1 lore raw
Quoted 3 lines · senthil

Hi All,
Can anybody suggests how can I disable netfilter for bridged traffic in linux-2.4.27 kernel ?

If i understand the question, then you just need to ignore the interfaces for the bridge.

iptables -I FORWARD -i eth_bridge_1 -j RETURN
iptables -I FORWARD -i eth_bridge_2 -j RETURN
iptables -I FORWARD -i bridge -j RETURN

same for input and output if you don't need a firewall for the ip address assigned on the bridge interface or you don't have an ip address assigned.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#2 lore raw
In reply to senthil
Quoted 7 lines · Radu Oprisan
Quoted 3 lines · senthil

Hi All,
Can anybody suggests how can I disable netfilter for bridged traffic in linux-2.4.27 kernel ?

If i understand the question, then you just need to ignore the interfaces for the bridge.

this is not necesary cause bridged traffic is "layer 2" traffic, and there is not a chance that netfiter(layer 3) saw it.

There is ebtables and iptables "physdev" in 2.6, to filter bridged traffic.

Signature · 5 lines
Luciano
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#3 lore raw
In reply to senthil
Quoted 5 lines · Luciano Ruete
Quoted 4 lines · Radu Oprisan
Quoted 3 lines · senthil

Hi All,
Can anybody suggests how can I disable netfilter for bridged traffic in linux-2.4.27 kernel ?

Quoted 7 lines
Quoted 2 lines

If i understand the question, then you just need to ignore the interfaces for the bridge.

this is not necesary cause bridged traffic is "layer 2" traffic, and there is not a chance that netfiter(layer 3) saw it.

There is ebtables and iptables "physdev" in 2.6, to filter bridged traffic.

I'm sorry. I missed the part about 2.4.27 in the first message.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc