daeuniverse/dae

[Bug Report] 绑定lan的接口中创建的vlan上dns流量会被劫持,且无法得到解析结果

Closed this issue · 1 comments

Checks

  • I have searched the existing issues
  • I have read the documentation
  • Is it your first time sumbitting an issue

Current Behavior

关联#594 ,在br-lan上的vlan-id为2的接口br-lan.2,lan_interface只绑定br-lan,wan_interface留空。当routing中将rfc1918 ip设置为must_direct,br-lan.2下局域网设备可以通过运行dae路由上的dns服务器正常工作,但直接使用公共dns则timeout。推测是vlan上的dns流量也被劫持到了dae0且没有得到正确处理。
Snipaste_2024-09-13_23-43-15

Expected Behavior

vlan上的dns流量应遵守lan_interface绑定规则

Steps to Reproduce

添加vlan,分配防火墙
image

Environment

  • Dae version (use dae --version): v0.7.0
  • OS (e.g cat /etc/os-release): ImmortalWrt SNAPSHOT
  • Kernel (e.g. uname -a): Linux ImmortalWrt 6.6.45
  • Others:

Anything else?

No response

Thanks for opening this issue!