V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
OpenWrt 是一个专门面向嵌入式设备的 Linux 发行版。你可以将 OpenWrt 支持的型号的嵌入式设备,比如各种路由器上的系统,换成一个有更多可能性可以折腾的 Linux 系统。
OpenWrt 官方网站
dayFvckingByte
V2EX  ›  OpenWrt

在 openwrt 上使用 clash 做透明网关时 53 端口与 dnsmasq 冲突问题

  •  
  •   dayFvckingByte · Sep 2, 2020 · 1190 views
    This topic created in 2074 days ago, the information mentioned may be changed or developed.
    因为 dnsmasq 还负责 dhcp,如果在 dnsmasq.conf 文件禁用了 dnsmasq 的 dns 功能,那么 dhcp 中将不再分发 dns 信息导致所有设备无法解析域名,现在 clash 的 dns hijack 监听在 5353,现在想让 dnsmasq 的所有请求转发给 clash 可行吗?

    几种方案:

    1. 直接用 iptable 转发所有 53 端口请求
    2. dnsmasq 配置转发所有请求(设置上游服务器为本地其他端口?)
    3. 关闭 dnsmasq 的 dns 功能,并让其 dhcp 直接带 clash 的端口

    哪种可行?谢谢
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2963 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 86ms · UTC 15:27 · PVG 23:27 · LAX 08:27 · JFK 11:27
    ♥ Do have faith in what you're doing.