Article 55NZD Blocking bridged traffic with ufw

Blocking bridged traffic with ufw

by
Traumatan
from LinuxQuestions.org on (#55NZD)
I have a VM with 2 interfaces. A bridge (brctl) "bridges" all traffic from one interface the other.

My next goal is to send all DNS requests to userspace with NFQUEUE.

As a first step, I tried to drop all packets (deny incoming, deny outgoing, deny routed) with ufw, but the bridge was unaffected and continued to send packets. How can I affect the traffic that is sent over the bridge?
And how do ufw and iptables interact?
Attached Thumbnailsattachment.php?attachmentid=33652&stc=1& latest?d=yIl2AUoC8zA latest?i=y8AUgsgjFx8:F08k4MVbcow:F7zBnMy latest?i=y8AUgsgjFx8:F08k4MVbcow:V_sGLiP latest?d=qj6IDK7rITs latest?i=y8AUgsgjFx8:F08k4MVbcow:gIN9vFwy8AUgsgjFx8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments