V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
340746
V2EX  ›  分享发现

被 Kwrt 上的 adguard 气笑了

  •  
  •   340746 · 6 天前 · 612 次点击

    给路由器装 adguard ,有三个选项。
    选作为上游服务器,无法区分各个客户端的请求。
    选重定向 53 端口,只能抓到少量的请求。
    选使用 53 端口替换,路由器显示 adguard 停止运行。

    打算重新用回第一个选项,结果抓不到请求了😅
    重装 adguard 也不好使。
    最后去路由器文件系统里手动改 adguard 的配置,监听 53 ,然后再把路由器自带的 DNS 关掉,终于能正常抓请求了。

    结果路由器界面上显示 adguard 未运行,但是 3000 端口是能访问的。

    想了一下,在 adguard 手动把 kwrt.lan 映射到 0.0.0.0 ,解决了😅

    THESDZ
        1
    THESDZ  
       5 天前
    adguardhome?
    不是自带 `-s` 吗?
    THESDZ
        2
    THESDZ  
       5 天前
    ./AdGuardHome [options]

    Options:
    -c, --config VALUE Path to the config file.
    -w, --work-dir VALUE Path to the working directory.
    -h, --host VALUE Deprecated. Host address to bind HTTP server on. Use --web-addr. The short -h will work as --help in the future.
    -p, --port VALUE Deprecated. Port to serve HTTP pages on. Use --web-addr.
    --web-addr VALUE Address to serve the web UI on, in the host:port format.
    -s, --service VALUE Service control action: status, install (as a service), uninstall (as a service), start, stop, restart, reload (configuration).
    -l, --logfile VALUE Path to log file. If empty, write to stdout; if "syslog", write to system log.
    --pidfile VALUE Path to a file where PID is stored.
    --check-config Check configuration and exit.
    --no-check-update Don't check for updates.
    --update Update the current binary and restart the service in case it's installed.
    --no-mem-optimization Deprecated. Disable memory optimization.
    --no-etc-hosts Deprecated: use clients.runtime_sources.hosts and dns.hostsfile_enabled instead. Do not use the OS-provided hosts.
    --local-frontend Use local frontend directories.
    -v, --verbose Enable verbose output.
    --glinet Run in GL-Inet compatibility mode.
    --no-permcheck Skip checking and migration of permissions of security-sensitive files.
    --version Show the version and exit. Show more detailed version description with -v.
    --help Print this help.
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   3987 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 04:14 · PVG 12:14 · LAX 20:14 · JFK 23:14
    ♥ Do have faith in what you're doing.