Set it as the homepageBookmark this site

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย

 Retrieve your password
 Sign up now
img_loading
Intelligent detection

QQ login

Just one step, get started quickly

Search
Ad delivery contact QQ68610888
View: 3479|Reply: 13

请教,旁路由状态下怎么使用adguardhome?

[Copy link]
发表于 2022-7-2 15:51 | Show all floors |Reading mode
Leike NW736 failed to turn bricks, call for help.
但因为媳妇在手机上用浏览器看书的时候,经常出现打不开网页的情况,关了wifi使用流量就能正常打开,所以经常跟我抱怨家里的网不好,为了耳根子清静,我把京东云设成主路由,开了dhcp,把小主机搞成旁路由,然后在我的设备上把网关设成旁路由地址,你用你的,我用我的,各取所需。但我发现adguardhome的广告拦截失效了。打开adguardhome的管理界面,在仪表盘界面上dns查询和已被过滤器拦截也都有数据,我把我的ad规则设在另一台做主路由的wrt上,广告拦截也有是效的,说明规则没有失效,是不是我设置有问题,请教一下,装在旁路由下的adguardhome,应该怎么设置进行使用?


网络环境:主路由京东云192.168.2.1,开dhcp,旁路由X86小主机openwrt 192.168.2.5,关闭dhcp
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
发表于 2022-7-2 17:41 | Show all floors
Ask the great god to flash the firmware of Leike power4s

Comments

我自己的设备IP网关和dns都是指向软路由的,adg的ip就是软路由的ip,这样设置没错吧,  Landlord Reply 发表于 2022-7-2 18:13
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
发表于 2022-7-2 17:41 | Show all floors
Ask the great god to flash the firmware of Leike power4s
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
Landlord| 发表于 2022-7-2 18:13 | Show all floors
Limitpea 发表于 2022-7-2 17:41
Ask the great god to flash the firmware of Leike power4s

我自己的设备IP网关和dns都是指向软路由的,adg的ip就是软路由的ip,这样设置没错吧,
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
发表于 2022-7-2 18:37 | Show all floors
本帖最后由 jjit 于 2022-7-2 18:39 编辑

adg 过滤器,自定义过滤规则里写
||baidu.com^
Leike Q3 brushed tomato and could not be hard reset
ipconfig /flushdns
然后上 百度,试一下能不能上,adg的 查询里,有没有百度被拦截的记录

Comments

你好,在adg的过滤器里复制进了||baidu.com^,并点击应用,然后在cmd里输入ipconfig /flushdns,提示已成功刷新dns解析缓存,百度打开正常,adg的查询日志里也没有关于百度的拦截记录,请教,这代表什么?  Landlord Reply 发表于 2022-7-2 18:52
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
Landlord| 发表于 2022-7-2 18:52 | Show all floors
jjit 发表于 2022-7-2 18:37
adg 过滤器,自定义过滤规则里写
||baidu.com^
Leike Q3 brushed tomato and could not be hard reset

你好,在adg的过滤器里复制进了||baidu.com^,并点击应用,然后在cmd里输入ipconfig /flushdns,提示已成功刷新dns解析缓存,百度打开正常,adg的查询日志里也没有关于百度的拦截记录,请教,这代表什么?

Comments

Posted at 2014-8-8 11:14Landlord Reply 发表于 2022-7-2 19:03
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
发表于 2022-7-2 19:03 | Show all floors
View:
你好,在adg的过滤器里复制进了||baidu.com^,并点击应用,然后在cmd里输入ipconfig /flushdns,提示已成 ...

说明设备的 DNS查询,没有经过adg,电脑 cmd 运行
ipconfig /all
Published at 2014-8-8 13:20

Comments

我在网卡属于里tcp/ipv4里设了网关和dns都指向旁路由ip,刚查看了一下是没错的,在cmd里也用ipconfig/all看了,显示的dns服务器也是旁路由的地址,  Landlord Reply 发表于 2022-7-2 19:07
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
Landlord| 发表于 2022-7-2 19:07 | Show all floors
I've been waiting for a long time, question········
jjit 发表于 2022-7-2 19:03
说明设备的 DNS查询,没有经过adg,电脑 cmd 运行
ipconfig /all
Leike Q3 flashed into bricks for help

Leike Q3 has been painted into bricks
现在电脑通过旁路由海淘购物是没问题的,就是这个adg拦截没有效果,

Comments

Don't pull daddy's pants Posted on 2014-8-8 13:20Landlord Reply 发表于 2022-7-2 19:11
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
发表于 2022-7-2 19:11 | Show all floors
Silence card
Pole 1S flashed the firmware of Leike NO1, and now I want to flash OP and can't use SSH to prompt connection refused

The author is banned or deleted and the content is automatically blocked

Comments

Leike NO.1 flashing methodLandlord Reply 发表于 2022-7-2 20:52
请教一下,adg里选择重定高53端口到adg后,还有没有其他地方要设置,比如防火墙里的自定义规则?还有网络-》dhcp/dns里的dns转发  Landlord Reply 发表于 2022-7-2 19:24
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
Landlord| 发表于 2022-7-2 19:24 | Show all floors
jjit 发表于 2022-7-2 19:11
The author is banned or deleted and the content is automatically blocked

Ask for help Why did Leike Q3 brush successfully when brushing, but there was no response
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
Landlord| 发表于 2022-7-2 20:52 | Show all floors
jjit 发表于 2022-7-2 19:11
The author is banned or deleted and the content is automatically blocked

【Help】 The newly bought Leike Q3 has been painted into bricks, do you have to use a programmer to save the bricks?
iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 54
iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 54
在dhcp/dns里的dns转发里设置了   旁路由地址#54,这样设置后,在拦截规则不变的情况下,百度还是正常打开。。。。
Leike NO1 brush immortal uboot! Do not disassemble
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
发表于 2022-7-2 22:36 | Show all floors
Sticky card
2. adg上游DNS设置为:127.0.0.1#53
PS: 使用上述设置,防火墙里的53配置规则可以删除了。
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
发表于 2022-12-29 10:09 | Show all floors
Reading mode
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
Call me Old Z | Show all floors
Ask for help Why did Leike Q3 brush when the brush was successful, but there was no response, Leike power8l flashing machine

Published on 2014-8-8 20:00
https://www.right.com.cn/forum/thread-8284982-1-1.html

遇到了跟你类似的问题, 在客户端配置默认网关为旁路由IP后发现
1) “师夷长技以制夷”可以正常进行
Ask for help Why Leike Q3 brushed when the brush was successful, but there was no response-TOMATO Special Edition-Enshan Wireless Forum
Wireless search can't be found The route can't get in
/etc/init.d/firewall status
/etc/init.d/firewall stop

TOMATO Special Edition
iptables -t nat -L PREROUTING
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
REDIRECT   udp  --  anywhere             anywhere             /* DNSMASQ */ udp dpt:domain redir ports 5337
REDIRECT   tcp  --  anywhere             anywhere             /* DNSMASQ */ tcp dpt:domain redir ports 5337
prerouting_rule  all  --  anywhere             anywhere             /* !fw3: Custom prerouting rule chain */
zone_lan_prerouting  all  --  anywhere             anywhere             /* !fw3 */
REDIRECT   udp  --  anywhere             anywhere             /* DNSMASQ */ udp dpt:domain redir ports 5337
REDIRECT   tcp  --  anywhere             anywhere             /* DNSMASQ */ tcp dpt:domain redir ports 5337
REDIRECT   udp  --  anywhere             anywhere             /* DNSMASQ */ udp dpt:domain redir ports 5337
REDIRECT   tcp  --  anywhere             anywhere             /* DNSMASQ */ tcp dpt:domain redir ports 5337
Leike power8L flashing machine
REDIRECT   udp  --  anywhere             anywhere             /* DNSMASQ */ udp dpt:domain redir ports 5337
REDIRECT   tcp  --  anywhere             anywhere             /* DNSMASQ */ tcp dpt:domain redir ports 5337

所以问题就出在DNSMASQ的规则比AdguardHome规则更早上, 修改方法如下:
1) 修改文件: vi /etc/config/dhcp
Power off, restart, after a ha, it's fine, I've been like this several times, thinking that if the brush is not successful, I'll re-brush it, and the result is still like that, wait a minute, it's fine
option dns_redirect '0'

重启即可, 重启后的防火墙规则很干净

iptables -t nat -L PREROUTING
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
prerouting_rule  all  --  anywhere             anywhere             /* !fw3: Custom prerouting rule chain */
zone_lan_prerouting  all  --  anywhere             anywhere             /* !fw3 */
Leike power8L flashing machine


我的luci界面好像没有DNS重定向的菜单, 如果你的系统有, 也可以参考去关闭:
K1 brush Leike firmware brick, call for help. I can't even start breed.
https://www.right.com.cn/forum/thread-4056236-1-1.html

Leike NW618 brush machine brick
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
You'll need to be logged in to reply to posts login | Sign up now

This version of the points rules

Shut down

Welcome to the Enshan Wireless Forum

Only talk about technology, don't talk about politics! Don't spread rumors! For you and for others.
Only talk about technology, don't talk about politics! (Click for details) Remember not to spread rumors at will, just live your life in peace, for your own good and for the good of everyone. Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.

View »

If in doubt, add an administrator QQ86788181|Mobile version|Little dark house|Archiver|Enshan Wireless Forum (Changzhou Enshan Computer Development Co., Ltd. All rights reserved) ( Su ICP No. 05084872 )

GMT+8, 2025-6-23 06:40

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表