Hi,
I'm trying to set up my bridge to redirect DNS queries to a server running on the bridge.
The following rules work fine for TCP:
But if I change them into UDP rules traffic just passes through.
The vr1 interface is bridged with vr0. I want to intercept DNS queries that arrive on vr1.
I'm running 7.1. Here are my link.bridge sysctls:
What's the obvious thing I'm missing?
Thanks!
I'm trying to set up my bridge to redirect DNS queries to a server running on the bridge.
The following rules work fine for TCP:
Code:
rdr on vr1 inet proto tcp to port 53 -> 127.0.0.1
pass in quick route-to lo0 inet proto tcp from any to port 53 keep state
But if I change them into UDP rules traffic just passes through.
The vr1 interface is bridged with vr0. I want to intercept DNS queries that arrive on vr1.
I'm running 7.1. Here are my link.bridge sysctls:
Code:
net.link.bridge.ipfw: 0
net.link.bridge.sat_mac: 1
net.link.bridge.log_stp: 0
net.link.bridge.pfil_local_phys: 0
net.link.bridge.pfil_member: 1
net.link.bridge.pfil_bridge: 0
net.link.bridge.ipfw_arp: 0
net.link.bridge.pfil_onlyip: 1
What's the obvious thing I'm missing?
Thanks!