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 Thumbnails


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 Thumbnails