被 Kwrt 上的 adguard 气笑了

6 天前
 340746

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

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

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

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

615 次点击
所在节点    分享发现
2 条回复
THESDZ
6 天前
adguardhome?
不是自带 `-s` 吗?
THESDZ
6 天前
./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.

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1183715

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX