drop all packet on one interface of a bridge.
Hello,
I have a bridge (on debian) with 2 interfaces. eth1, eth2
eth2 is connected to an other server and eth1 is connected to a switch for my computers. Everythings is ok.
But I want to add another interface, eth3 on the bridge and for the moment, drop all the packet.
I tried :
ebtables -A INPUT -i eth3 -j DROP ebtables -A OUPUT -o eth3 -j DROP ebtables -A FORWARD -i eth3 -j DROP ebtables -A FORWARD -o eth3 -j DROP
But I have always some packet :
arp and msdns what always allow.
How is it possible?
How Can I drop this type on packet?
Best Regards.
Hello,
Quoted 10 lines · mopsosforum
But I want to add another interface, eth3 on the bridge and for the moment, drop all the packet.
I tried :
ebtables -A INPUT -i eth3 -j DROP ebtables -A OUPUT -o eth3 -j DROP ebtables -A FORWARD -i eth3 -j DROP ebtables -A FORWARD -o eth3 -j DROP
Quoted 4 lines
But I have always some packet :
arp and msdns what always allow.How is it possible?
Thes packets may be sent directly on eth3, not on the bridge. ebtables sees only packets which enter the bridge.
Quoted 1 line
How Can I drop this type on packet?
You can drop outgoing IP traffic on eth3 with iptables, or stop the application or service sending this trafic from doing so.