V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
guzzhao
V2EX  ›  问与答

mihomo 访问网页问题

  •  
  •   guzzhao · 4 天前 · 641 次点击

    重启核心后第一次访问外网网页很大概率会出现连接错误,过一两秒会自动刷新变正常了,走直连的一直正常,我怀疑是 dns 的问题,怎么改都不好使

    嗯...无法访问此页面
    似乎 www.google.com 关闭连接

    我直接运行的内核,下面是我的配置

    
    allow-lan: false
    bind-address: '*'
    dns:
        default-nameserver:
            - 223.5.5.5
            - 119.29.29.29
        enable: true
        enhanced-mode: fake-ip
        fake-ip-filter:
            - '*.lan'
            - '*.localdomain'
            - '*.example'
            - '*.invalid'
            - '*.localhost'
            - '*.test'
            - '*.local'
            - '*.home.arpa'
            - time.*.com
            - time.*.gov
            - time.*.edu.cn
            - time.*.apple.com
            - time1.*.com
            - time2.*.com
            - time3.*.com
            - time4.*.com
            - time5.*.com
            - time6.*.com
            - time7.*.com
            - ntp.*.com
            - ntp1.*.com
            - ntp2.*.com
            - ntp3.*.com
            - ntp4.*.com
            - ntp5.*.com
            - ntp6.*.com
            - ntp7.*.com
            - '*.time.edu.cn'
            - '*.ntp.org.cn'
            - +.pool.ntp.org
            - time1.cloud.tencent.com
            - music.163.com
            - '*.music.163.com'
            - '*.126.net'
            - musicapi.taihe.com
            - music.taihe.com
            - songsearch.kugou.com
            - trackercdn.kugou.com
            - '*.kuwo.cn'
            - api-jooxtt.sanook.com
            - api.joox.com
            - joox.com
            - y.qq.com
            - '*.y.qq.com'
            - streamoc.music.tc.qq.com
            - mobileoc.music.tc.qq.com
            - isure.stream.qqmusic.qq.com
            - dl.stream.qqmusic.qq.com
            - aqqmusic.tc.qq.com
            - amobile.music.tc.qq.com
            - '*.xiami.com'
            - '*.music.migu.cn'
            - music.migu.cn
            - +.msftconnecttest.com
            - +.msftncsi.com
            - msftconnecttest.com
            - msftncsi.com
            - localhost.ptlogin2.qq.com
            - localhost.sec.qq.com
            - +.srv.nintendo.net
            - +.stun.playstation.net
            - xbox.*.microsoft.com
            - xnotify.xboxlive.com
            - +.ipv6.microsoft.com
            - +.battlenet.com.cn
            - +.wotgame.cn
            - +.wggames.cn
            - +.wowsgame.cn
            - +.wargaming.net
            - proxy.golang.org
            - stun.*.*
            - stun.*.*.*
            - +.stun.*.*
            - +.stun.*.*.*
            - +.stun.*.*.*.*
            - heartbeat.belkin.com
            - '*.linksys.com'
            - '*.linksyssmartwifi.com'
            - '*.router.asus.com'
            - mesu.apple.com
            - swscan.apple.com
            - swquery.apple.com
            - swdownload.apple.com
            - swcdn.apple.com
            - swdist.apple.com
            - lens.l.google.com
            - stun.l.google.com
            - '*.square-enix.com'
            - '*.finalfantasyxiv.com'
            - '*.ffxiv.com'
            - '*.ff14.sdo.com'
            - ff.dorado.sdo.com
            - '*.mcdn.bilivideo.cn'
            - +.media.dssott.com
            - +.pvp.net
        fake-ip-range: 28.0.0.1/8
        ipv6: false
        listen: 0.0.0.0:1053
        nameserver:
            - 223.5.5.5
            - 114.114.114.114
            - 119.29.29.29
            - 180.76.76.76
        nameserver-policy:
            geosite:cn,private:
                - system
                - 223.5.5.5
                - 114.114.114.114
                - 119.29.29.29
                - 180.76.76.76
            geosite:geolocation-!cn:
                - 8.8.4.4
                - 1.1.1.1
                - 199.85.126.10
        use-hosts: true
    external-controller: 127.0.0.1:11232
    external-controller-unix: mihomo.sock
    external-ui: ui
    external-ui-url: https://www.ghproxy.cn/https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip
    geo-auto-update: true
    geo-update-interval: 24
    geodata-mode: true
    geox-url:
        geoip: https://www.ghproxy.cn/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip.dat
        geosite: https://www.ghproxy.cn/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat
        mmdb: https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country.mmdb
    ipv6: true
    keep-alive-interval: 15
    log-level: info
    mixed-port: 11231
    mode: rule
    profile:
        store-fake-ip: true
        store-selected: true
    proxy-groups:
      
    proxy-providers:
    
    rules:
        - GEOSITE,openai,openai
        - GEOSITE,youtube,youtube
        - "GEOSITE,github,🚀 节点选择"
        - GEOSITE,win-update,DIRECT
        - GEOSITE,microsoft,microsoft
        - GEOIP,lan,DIRECT
        - GEOIP,private,DIRECT
        - GEOIP,CN,DIRECT
        - GEOSITE,private,DIRECT
        - GEOSITE,CN,DIRECT
        - "GEOSITE,geolocation-!cn,🚀 节点选择"
        - "MATCH,🐟 漏网之鱼"
    secret: secret
    sniffer:
        enable: false
    tcp-concurrent: true
    tun:
        auto-detect-interface: true
        auto-route: true
        device: Meta
        dns-hijack:
            - any:53
            - tcp://any:53
        enable: false
        mtu: 9000
        stack: mixed
    unified-delay: true
    
    
    
    
    4 条回复    2025-01-14 11:09:10 +08:00
    guzzhao
        1
    guzzhao  
    OP
       4 天前
    totoro625
        2
    totoro625  
       4 天前   ❤️ 1
    fake-ip-range: 28.0.0.1/8 请勿用公网 IP 作为 fakeip
    可以用 198.18.0.1/16
    totoro625
        3
    totoro625  
       4 天前
    ipv6 如非必要应当关闭
    guzzhao
        4
    guzzhao  
    OP
       4 天前
    @totoro625 #2 多谢,我试一试
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2938 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 08:49 · PVG 16:49 · LAX 00:49 · JFK 03:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.