Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to drop UDP packets with specific UDP port number) on network interface (say eth0). On my setup the interface eth0 is part of the bridge.

is it possible to do it using tc command? if yes, how?

share|improve this question
up vote 4 down vote accepted

No, tc is not for firewalling. Use ebtables instead.

share|improve this answer
since eth0 is part of bridge, I can do it using iptables. According to and I cannot use iptables rule for physical interface. Can I do something else? – Dima Sep 7 '11 at 17:59
Sorry, you want 'ebtables'. – David Schwartz Sep 7 '11 at 18:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.