找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4434|回复: 15

[N1盒子] adguardhome设置问题,求大佬解惑

[复制链接]
发表于 2020-8-18 17:37 | 显示全部楼层 |阅读模式
adguardhome设置后打不开一些网站,比如百度网盘https://www.baidu.com/link?url=b ... 127000000025f3ba0e0,百度翻译http://fanyi.baidu.com
https://jingyan.baidu.com/article/0a52e3f4eb845fbf62ed72e4.html

,
以下为设置,
  1. bind_host: 0.0.0.0
  2. bind_port: 3000
  3. users:
  4. - name: root
  5.   password: $2y$10$Ob3vnCrgFxCw7Q/9SuXSy.St28K6iWIPqB.GZ.4i/pF4sZgnAFIjW
  6. http_proxy: ""
  7. language: ""
  8. rlimit_nofile: 0
  9. debug_pprof: false
  10. web_session_ttl: 720
  11. dns:
  12.   bind_host: 0.0.0.0
  13.   port: 6053
  14.   statistics_interval: 7
  15.   querylog_enabled: true
  16.   querylog_file_enabled: true
  17.   querylog_interval: 7
  18.   querylog_size_memory: 1000
  19.   anonymize_client_ip: false
  20.   protection_enabled: true
  21.   blocking_mode: default
  22.   blocking_ipv4: ""
  23.   blocking_ipv6: ""
  24.   blocked_response_ttl: 10
  25.   parental_block_host: family-block.dns.adguard.com
  26.   safebrowsing_block_host: standard-block.dns.adguard.com
  27.   ratelimit: 20
  28.   ratelimit_whitelist: []
  29.   refuse_any: false
  30.   upstream_dns:
  31.   - 116.116.116.116
  32.   - 180.76.76.76
  33.   - 8.8.8.8
  34.   - https://dns10.quad9.net/dns-query
  35.   bootstrap_dns:
  36.   - 114.114.114.114
  37.   - 8.8.8.8
  38.   - 8.8.4.4
  39.   all_servers: true
  40.   fastest_addr: false
  41.   allowed_clients: []
  42.   disallowed_clients: []
  43.   blocked_hosts: []
  44.   cache_size: 4194304
  45.   cache_ttl_min: 0
  46.   cache_ttl_max: 0
  47.   bogus_nxdomain: []
  48.   aaaa_disabled: true
  49.   enable_dnssec: false
  50.   edns_client_subnet: false
  51.   filtering_enabled: true
  52.   filters_update_interval: 24
  53.   parental_enabled: false
  54.   safesearch_enabled: false
  55.   safebrowsing_enabled: false
  56.   safebrowsing_cache_size: 1048576
  57.   safesearch_cache_size: 1048576
  58.   parental_cache_size: 1048576
  59.   cache_time: 30
  60.   rewrites: []
  61.   blocked_services: []
  62. tls:
  63.   enabled: false
  64.   server_name: ""
  65.   force_https: false
  66.   port_https: 443
  67.   port_dns_over_tls: 853
  68.   allow_unencrypted_doh: false
  69.   strict_sni_check: false
  70.   certificate_chain: ""
  71.   private_key: ""
  72.   certificate_path: ""
  73.   private_key_path: ""
  74. filters:
  75. - enabled: false
  76.   url: https://anti-ad.net/easylist.txt
  77.   name: 'CHN: anti-AD'
  78.   id: 1595673714
  79. - enabled: true
  80.   url: https://adaway.org/hosts.txt
  81.   name: AdAway
  82.   id: 1597741261
  83. - enabled: true
  84.   url: https://gitee.com/xinggsf/Adblock-Rule/raw/master/mv.txt
  85.   name: 乘风视
  86.   id: 1597741263
  87. - enabled: true
  88.   url: https://gitee.com/xinggsf/Adblock-Rule/raw/master/rule.txt
  89.   name: 乘风广告
  90.   id: 1597741264
  91. - enabled: true
  92.   url: https://gitee.com/halflife/list/raw/master/ad.txt
  93.   name: My AdFilters
  94.   id: 1597741265
  95. - enabled: true
  96.   url: https://gitee.com/cjx82630/cjxlist/raw/master/cjx-ublock.txt
  97.   name: CHINAListV2.0CJX's uBlock list
  98.   id: 1597741266
  99. - enabled: true
  100.   url: https://easylist-downloads.adblockplus.org/easyprivacy.txt
  101.   name: EasyPrivacy
  102.   id: 1597741267
  103. - enabled: true
  104.   url: https://www.i-dont-care-about-cookies.eu/abp/
  105.   name: I don't care about cookies
  106.   id: 1597741268
  107. whitelist_filters: []
  108. user_rules:
  109. - '||t7z.cupid.ptqy.gitv.tv^$important'
  110. - '@@||g.live.com^$important'
  111. - '@@||s.click.taobao.com^$important'
  112. dhcp:
  113.   enabled: false
  114.   interface_name: ""
  115.   gateway_ip: ""
  116.   subnet_mask: ""
  117.   range_start: ""
  118.   range_end: ""
  119.   lease_duration: 86400
  120.   icmp_timeout_msec: 1000
  121. clients: []
  122. log_compress: false
  123. log_localtime: false
  124. log_max_backups: 0
  125. log_max_size: 100
  126. log_max_age: 3
  127. log_file: ""
  128. verbose: false
  129. schema_version: 6
复制代码
上游dns设置:8.8.8.8,114.114.114.114,116.116.116.116,9.9.9.9,180.76.76.76
防火墙设置
# special user chains, e.g. input_wan_rule or postrouting_lan_rule.
iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53
iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53
iptables -t nat -I POSTROUTING -j MASQUERADE
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-8-18 17:45 | 显示全部楼层
查询日志-放行 相关被拦截的域名即可

点评

我现在把adguardhome关了不开也不行  详情 回复 发表于 2020-8-18 17:47
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-8-18 17:47 | 显示全部楼层
mxp258 发表于 2020-8-18 17:45
查询日志-放行 相关被拦截的域名即可

我现在把adguardhome关了不开也不行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-8-18 18:12 | 显示全部楼层
来大佬解决下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-8-18 18:38 | 显示全部楼层
来大佬解决
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-8-18 20:26 来自手机 | 显示全部楼层
180.76.76.76
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-8-18 20:28 来自手机 | 显示全部楼层
去掉180百度dns就行了,关了也不行是有dns缓存重启n1就ok或者等一段时间就好

点评

不行的 。打开就是dns解析错误  详情 回复 发表于 2020-8-18 20:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-8-18 20:30 | 显示全部楼层
花非花 发表于 2020-8-18 20:28
去掉180百度dns就行了,关了也不行是有dns缓存重启n1就ok或者等一段时间就好

不行的 。打开就是dns解析错误
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-8-19 08:13 来自手机 | 显示全部楼层
建议ad双开,内外各走各的;或者ad内,smart外两路走。反正内外一起走ad就这毛病,不是内不行就是外不行

点评

这个是最正确的解释  详情 回复 发表于 2021-1-5 16:58
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-12-3 21:52 | 显示全部楼层
感谢分享。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-1-5 16:58 | 显示全部楼层
花非花 发表于 2020-8-19 08:13
建议ad双开,内外各走各的;或者ad内,smart外两路走。反正内外一起走ad就这毛病,不是内不行就是外不行

这个是最正确的解释
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-4-24 17:43 | 显示全部楼层
把bind_host: 0.0.0.0,改成127.0.0.1就可以,不然断开再连接就不行了,在日志里面去看端口有没有被占用,有的话就改port: 后面的数字
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2021-4-26 11:01 | 显示全部楼层
aa1354035l 发表于 2021-4-24 17:43
把bind_host: 0.0.0.0,改成127.0.0.1就可以,不然断开再连接就不行了,在日志里面去看端口有没有被占用, ...

谢谢谢谢谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
发表于 2021-8-18 15:10 | 显示全部楼层
提示: 该帖被管理员或版主屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
 楼主| 发表于 2021-8-18 18:37 | 显示全部楼层
提示: 该帖被管理员或版主屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 20:26

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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