[{"data":1,"prerenderedAt":1219},["ShallowReactive",2],{"post-2026-07-17-my-router-proxy-plan-with-cudy-tr3000-and-n100-zh":3,"surround-2026-07-17-my-router-proxy-plan-with-cudy-tr3000-and-n100-zh":1211,"randomIndex-year-month-day-slug___zh-{\"year\":\"2026\",\"month\":\"07\",\"day\":\"17\",\"slug\":\"my-router-proxy-plan-with-cudy-tr3000-and-n100\"}":114,"language-switch-year-month-day-slug___zh-{\"year\":\"2026\",\"month\":\"07\",\"day\":\"17\",\"slug\":\"my-router-proxy-plan-with-cudy-tr3000-and-n100\"}-en":1212},{"title":4,"date":5,"path":6,"tags":7,"body":17,"description":64},"吃大鹅(dae)这件事，Cudy 小路由一个人干不动了","2026-07-17","/2026/07/17/my-router-proxy-plan-with-cudy-tr3000-and-n100",[8,9,10,11,12,13,14,15,16],"Network","Router","OpenWRT","Proxy","HomeServer","ImmortalWRT","Dae","Mihomo","DNS",{"type":18,"value":19,"toc":1204},"minimark",[20,24,28,37,40,43,46,49,52,55,58,149,152,192,199,202,216,990,1003,1006,1017,1024,1027,1087,1090,1146,1169,1172,1175,1178,1200],[21,22,23],"h2",{"id":23},"背景",[25,26,27],"p",{},"先打个招呼：下文里的「大鹅」「大鹅蛋」「喵喵内核」，分别对应大家熟悉的那套透明代理组合。",[25,29,30,31,36],{},"之前我在 ",[32,33,35],"a",{"href":34},"/2025/02/28/cudy-tr3000-daed-install-record/","Cudy TR3000 上吃过大鹅蛋","。实习租房那会儿宽带只有 200Mbps，测下来代理下行能跑满，CPU 也看着还行，一度觉得这台小路由自己扛透明代理就够了。",[25,38,39],{},"离职回家以后带宽粗了不少，Cudy 就开始露馅：直连能跑满的速度，一走代理就掉下来。网口挺体面，真干活还是那颗小 SoC 扛不住加密解密和规则匹配。",[25,41,42],{},"内存也是坑。Cudy 只有 512MB，挂美西这种高延迟节点时，TCP 窗口会跟着 RTT 往上抬，缓冲区吃得很凶。同样的协议，亚太低延迟节点更容易把带宽打满，美西反而跑不满——最开始我还以为是节点质量问题，后来才发现小路由自己在添堵。",[25,44,45],{},"主路由我也不打算动。家里还靠小米官方系统做 Mesh，米家智能家居网关也压在它身上。代理调炸了事小，灯泡插座扫地机器人一起赛博失联就很难绷。主路由继续干拨号、Wi-Fi、DHCP、Mesh、米家，代理实验别往上塞。",[25,47,48],{},"最开始当然也想过 all in one，一个小盒子插上电就完事，多优雅。可惜家用网络里 all in one 离 all in boom 往往只有一次手贱更新的距离。于是现在改成半拆：主路由下面同时挂 Cudy 和 N100。Cudy 跑大鹅蛋当透明代理入口，先用 geosite / geoip 把 CN 流量直连出主路由；剩下的交给 N100 上的喵喵，DNS 也走它的 fake-ip。",[21,50,51],{"id":51},"网络拓扑",[25,53,54],{},"下面 IP 是示意用的，别和家里真实网段对号入座。",[25,56,57],{},"物理连接：",[59,60,65],"pre",{"className":61,"code":62,"language":63,"meta":64,"style":64},"language-mermaid shiki shiki-themes one-light one-dark-pro","flowchart TB\n    Internet((互联网))\n    MainRouter[\"主路由\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.1\u003C/b>\u003Cbr/>小米 Mesh / 米家网关\"]\n    Cudy[\"Cudy TR3000\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.2\u003C/b>\u003Cbr/>大鹅蛋 / LAN \u003Cb style='color:#b45309'>192.168.67.1\u003C/b>\"]\n    N100[\"N100\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.3\u003C/b>\u003Cbr/>喵喵\"]\n    Clients[\"代理设备\u003Cbr/>\u003Cb style='color:#b45309'>192.168.67.0/24\u003C/b>\"]\n    DirectClients[\"普通设备\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.0/24\u003C/b>\"]\n\n    Internet --- MainRouter\n    MainRouter --- Cudy\n    MainRouter --- N100\n    MainRouter --- DirectClients\n    Cudy --- Clients\n","mermaid","",[66,67,68,76,82,88,94,100,106,112,119,125,131,137,143],"code",{"__ignoreMap":64},[69,70,73],"span",{"class":71,"line":72},"line",1,[69,74,75],{},"flowchart TB\n",[69,77,79],{"class":71,"line":78},2,[69,80,81],{},"    Internet((互联网))\n",[69,83,85],{"class":71,"line":84},3,[69,86,87],{},"    MainRouter[\"主路由\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.1\u003C/b>\u003Cbr/>小米 Mesh / 米家网关\"]\n",[69,89,91],{"class":71,"line":90},4,[69,92,93],{},"    Cudy[\"Cudy TR3000\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.2\u003C/b>\u003Cbr/>大鹅蛋 / LAN \u003Cb style='color:#b45309'>192.168.67.1\u003C/b>\"]\n",[69,95,97],{"class":71,"line":96},5,[69,98,99],{},"    N100[\"N100\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.3\u003C/b>\u003Cbr/>喵喵\"]\n",[69,101,103],{"class":71,"line":102},6,[69,104,105],{},"    Clients[\"代理设备\u003Cbr/>\u003Cb style='color:#b45309'>192.168.67.0/24\u003C/b>\"]\n",[69,107,109],{"class":71,"line":108},7,[69,110,111],{},"    DirectClients[\"普通设备\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.0/24\u003C/b>\"]\n",[69,113,115],{"class":71,"line":114},8,[69,116,118],{"emptyLinePlaceholder":117},true,"\n",[69,120,122],{"class":71,"line":121},9,[69,123,124],{},"    Internet --- MainRouter\n",[69,126,128],{"class":71,"line":127},10,[69,129,130],{},"    MainRouter --- Cudy\n",[69,132,134],{"class":71,"line":133},11,[69,135,136],{},"    MainRouter --- N100\n",[69,138,140],{"class":71,"line":139},12,[69,141,142],{},"    MainRouter --- DirectClients\n",[69,144,146],{"class":71,"line":145},13,[69,147,148],{},"    Cudy --- Clients\n",[25,150,151],{},"流量走向：",[59,153,155],{"className":61,"code":154,"language":63,"meta":64,"style":64},"flowchart LR\n    Clients[\"代理设备\u003Cbr/>\u003Cb style='color:#b45309'>192.168.67.x\u003C/b>\"] --> Cudy[\"Cudy\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.2\u003C/b>\u003Cbr/>大鹅蛋\"]\n    Cudy -->|CN 直连| MainRouter[\"主路由\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.1\u003C/b>\"]\n    Cudy -->|socks5 :7890| N100[\"N100\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.3\u003C/b>\u003Cbr/>喵喵\"]\n    Cudy -->|fake-ip DNS :1053| N100\n    N100 --> MainRouter\n    MainRouter --> Internet((互联网))\n",[66,156,157,162,167,172,177,182,187],{"__ignoreMap":64},[69,158,159],{"class":71,"line":72},[69,160,161],{},"flowchart LR\n",[69,163,164],{"class":71,"line":78},[69,165,166],{},"    Clients[\"代理设备\u003Cbr/>\u003Cb style='color:#b45309'>192.168.67.x\u003C/b>\"] --> Cudy[\"Cudy\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.2\u003C/b>\u003Cbr/>大鹅蛋\"]\n",[69,168,169],{"class":71,"line":84},[69,170,171],{},"    Cudy -->|CN 直连| MainRouter[\"主路由\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.1\u003C/b>\"]\n",[69,173,174],{"class":71,"line":90},[69,175,176],{},"    Cudy -->|socks5 :7890| N100[\"N100\u003Cbr/>\u003Cb style='color:#b45309'>192.168.66.3\u003C/b>\u003Cbr/>喵喵\"]\n",[69,178,179],{"class":71,"line":96},[69,180,181],{},"    Cudy -->|fake-ip DNS :1053| N100\n",[69,183,184],{"class":71,"line":102},[69,185,186],{},"    N100 --> MainRouter\n",[69,188,189],{"class":71,"line":108},[69,190,191],{},"    MainRouter --> Internet((互联网))\n",[25,193,194,195,198],{},"CN 在大鹅蛋这一层就直连出主路由。其余该走代理的流量，连同 fake-ip DNS 查询，一起交给 N100；其中 fake-ip 对应的 ",[66,196,197],{},"198.18.0.0/16"," 也必须走 socks5，别被 CN / private 直连规则误伤。",[21,200,201],{"id":201},"喵喵侧",[25,203,204,205,208,209,215],{},"N100 上开两个东西给 Cudy 用：",[66,206,207],{},"mixed-port"," 暴露出来的 socks，以及 fake-ip DNS。为什么优先 fake-ip 而不是 real-ip，Sukka 这篇 ",[32,210,214],{"href":211,"rel":212},"https://blog.skk.moe/post/lets-talk-about-dns-cdn-fake-ip/",[213],"nofollow","《谈谈 DNS 泄漏、CDN 访问优化与 Fake IP》"," 讲得很清楚，这里不展开；简单说就是响应速度更快、也少踩 CDN 调度的坑。简化版大概长这样：",[59,217,221],{"className":218,"code":219,"language":220,"meta":64,"style":64},"language-yaml shiki shiki-themes one-light one-dark-pro","mixed-port: 7890\nallow-lan: true\nmode: rule\nlog-level: info\nunified-delay: true\n\ndns:\n  enable: true\n  enhanced-mode: fake-ip\n  listen: 0.0.0.0:1053\n  default-nameserver:\n    - 223.5.5.5\n  nameserver:\n    - https://doh.pub/dns-query\n    - https://dns.alidns.com/dns-query\n  direct-nameserver:\n    - 192.168.66.1\n    - 119.29.29.29\n\nproxy-providers:\n  sub:\n    type: http\n    url: \"https://example.com/sub/xxxxxxxx\"\n    interval: 21600\n    path: ./providers/sub.yaml\n    health-check:\n      enable: true\n      interval: 600\n      url: http://www.gstatic.com/generate_204\n\nrule-providers:\n  lan:\n    type: http\n    behavior: classical\n    format: text\n    url: https://cdn.jsdelivr.net/gh/ACL4SSR/ACL4SSR@master/Clash/LocalAreaNetwork.list\n    path: ./rules/lan.yaml\n    interval: 86400\n  proxylite:\n    type: http\n    behavior: classical\n    format: text\n    url: https://cdn.jsdelivr.net/gh/ACL4SSR/ACL4SSR@master/Clash/ProxyLite.list\n    path: ./rules/proxylite.yaml\n    interval: 86400\n  chinadomain:\n    type: http\n    behavior: classical\n    format: text\n    url: https://cdn.jsdelivr.net/gh/ACL4SSR/ACL4SSR@master/Clash/ChinaDomain.list\n    path: ./rules/chinadomain.yaml\n    interval: 86400\n\nproxy-groups:\n  - name: 🚀 节点选择\n    type: select\n    proxies:\n      - ⚡ 最低延迟\n      - DIRECT\n    use:\n      - sub\n\n  - name: ⚡ 最低延迟\n    type: url-test\n    url: http://www.gstatic.com/generate_204\n    interval: 180\n    tolerance: 50\n    use: [sub]\n\n  - name: 🎯 全球直连\n    type: select\n    proxies:\n      - DIRECT\n\n  - name: 🐟 漏网之鱼\n    type: select\n    proxies:\n      - 🚀 节点选择\n      - 🎯 全球直连\n\nrules:\n  - RULE-SET,lan,🎯 全球直连\n  - RULE-SET,proxylite,🚀 节点选择\n  - RULE-SET,chinadomain,🎯 全球直连\n  - GEOIP,LAN,🎯 全球直连\n  - GEOIP,CN,🎯 全球直连\n  - MATCH,🐟 漏网之鱼\n","yaml",[66,222,223,236,246,257,267,276,280,288,297,307,317,324,332,339,347,355,363,371,379,384,392,400,411,422,433,444,452,462,473,484,489,497,505,514,525,536,546,556,566,574,583,592,601,611,621,630,638,647,656,665,675,685,694,699,707,721,731,739,748,756,764,772,777,788,798,807,817,828,842,847,859,868,875,882,887,899,908,915,922,929,934,942,950,958,966,974,982],{"__ignoreMap":64},[69,224,225,228,232],{"class":71,"line":72},[69,226,207],{"class":227},"sJa8x",[69,229,231],{"class":230},"s5ixo",": ",[69,233,235],{"class":234},"sAGMh","7890\n",[69,237,238,241,243],{"class":71,"line":78},[69,239,240],{"class":227},"allow-lan",[69,242,231],{"class":230},[69,244,245],{"class":234},"true\n",[69,247,248,251,253],{"class":71,"line":84},[69,249,250],{"class":227},"mode",[69,252,231],{"class":230},[69,254,256],{"class":255},"sDhpE","rule\n",[69,258,259,262,264],{"class":71,"line":90},[69,260,261],{"class":227},"log-level",[69,263,231],{"class":230},[69,265,266],{"class":255},"info\n",[69,268,269,272,274],{"class":71,"line":96},[69,270,271],{"class":227},"unified-delay",[69,273,231],{"class":230},[69,275,245],{"class":234},[69,277,278],{"class":71,"line":102},[69,279,118],{"emptyLinePlaceholder":117},[69,281,282,285],{"class":71,"line":108},[69,283,284],{"class":227},"dns",[69,286,287],{"class":230},":\n",[69,289,290,293,295],{"class":71,"line":114},[69,291,292],{"class":227},"  enable",[69,294,231],{"class":230},[69,296,245],{"class":234},[69,298,299,302,304],{"class":71,"line":121},[69,300,301],{"class":227},"  enhanced-mode",[69,303,231],{"class":230},[69,305,306],{"class":255},"fake-ip\n",[69,308,309,312,314],{"class":71,"line":127},[69,310,311],{"class":227},"  listen",[69,313,231],{"class":230},[69,315,316],{"class":255},"0.0.0.0:1053\n",[69,318,319,322],{"class":71,"line":133},[69,320,321],{"class":227},"  default-nameserver",[69,323,287],{"class":230},[69,325,326,329],{"class":71,"line":139},[69,327,328],{"class":230},"    - ",[69,330,331],{"class":234},"223.5.5.5\n",[69,333,334,337],{"class":71,"line":145},[69,335,336],{"class":227},"  nameserver",[69,338,287],{"class":230},[69,340,342,344],{"class":71,"line":341},14,[69,343,328],{"class":230},[69,345,346],{"class":255},"https://doh.pub/dns-query\n",[69,348,350,352],{"class":71,"line":349},15,[69,351,328],{"class":230},[69,353,354],{"class":255},"https://dns.alidns.com/dns-query\n",[69,356,358,361],{"class":71,"line":357},16,[69,359,360],{"class":227},"  direct-nameserver",[69,362,287],{"class":230},[69,364,366,368],{"class":71,"line":365},17,[69,367,328],{"class":230},[69,369,370],{"class":234},"192.168.66.1\n",[69,372,374,376],{"class":71,"line":373},18,[69,375,328],{"class":230},[69,377,378],{"class":234},"119.29.29.29\n",[69,380,382],{"class":71,"line":381},19,[69,383,118],{"emptyLinePlaceholder":117},[69,385,387,390],{"class":71,"line":386},20,[69,388,389],{"class":227},"proxy-providers",[69,391,287],{"class":230},[69,393,395,398],{"class":71,"line":394},21,[69,396,397],{"class":227},"  sub",[69,399,287],{"class":230},[69,401,403,406,408],{"class":71,"line":402},22,[69,404,405],{"class":227},"    type",[69,407,231],{"class":230},[69,409,410],{"class":255},"http\n",[69,412,414,417,419],{"class":71,"line":413},23,[69,415,416],{"class":227},"    url",[69,418,231],{"class":230},[69,420,421],{"class":255},"\"https://example.com/sub/xxxxxxxx\"\n",[69,423,425,428,430],{"class":71,"line":424},24,[69,426,427],{"class":227},"    interval",[69,429,231],{"class":230},[69,431,432],{"class":234},"21600\n",[69,434,436,439,441],{"class":71,"line":435},25,[69,437,438],{"class":227},"    path",[69,440,231],{"class":230},[69,442,443],{"class":255},"./providers/sub.yaml\n",[69,445,447,450],{"class":71,"line":446},26,[69,448,449],{"class":227},"    health-check",[69,451,287],{"class":230},[69,453,455,458,460],{"class":71,"line":454},27,[69,456,457],{"class":227},"      enable",[69,459,231],{"class":230},[69,461,245],{"class":234},[69,463,465,468,470],{"class":71,"line":464},28,[69,466,467],{"class":227},"      interval",[69,469,231],{"class":230},[69,471,472],{"class":234},"600\n",[69,474,476,479,481],{"class":71,"line":475},29,[69,477,478],{"class":227},"      url",[69,480,231],{"class":230},[69,482,483],{"class":255},"http://www.gstatic.com/generate_204\n",[69,485,487],{"class":71,"line":486},30,[69,488,118],{"emptyLinePlaceholder":117},[69,490,492,495],{"class":71,"line":491},31,[69,493,494],{"class":227},"rule-providers",[69,496,287],{"class":230},[69,498,500,503],{"class":71,"line":499},32,[69,501,502],{"class":227},"  lan",[69,504,287],{"class":230},[69,506,508,510,512],{"class":71,"line":507},33,[69,509,405],{"class":227},[69,511,231],{"class":230},[69,513,410],{"class":255},[69,515,517,520,522],{"class":71,"line":516},34,[69,518,519],{"class":227},"    behavior",[69,521,231],{"class":230},[69,523,524],{"class":255},"classical\n",[69,526,528,531,533],{"class":71,"line":527},35,[69,529,530],{"class":227},"    format",[69,532,231],{"class":230},[69,534,535],{"class":255},"text\n",[69,537,539,541,543],{"class":71,"line":538},36,[69,540,416],{"class":227},[69,542,231],{"class":230},[69,544,545],{"class":255},"https://cdn.jsdelivr.net/gh/ACL4SSR/ACL4SSR@master/Clash/LocalAreaNetwork.list\n",[69,547,549,551,553],{"class":71,"line":548},37,[69,550,438],{"class":227},[69,552,231],{"class":230},[69,554,555],{"class":255},"./rules/lan.yaml\n",[69,557,559,561,563],{"class":71,"line":558},38,[69,560,427],{"class":227},[69,562,231],{"class":230},[69,564,565],{"class":234},"86400\n",[69,567,569,572],{"class":71,"line":568},39,[69,570,571],{"class":227},"  proxylite",[69,573,287],{"class":230},[69,575,577,579,581],{"class":71,"line":576},40,[69,578,405],{"class":227},[69,580,231],{"class":230},[69,582,410],{"class":255},[69,584,586,588,590],{"class":71,"line":585},41,[69,587,519],{"class":227},[69,589,231],{"class":230},[69,591,524],{"class":255},[69,593,595,597,599],{"class":71,"line":594},42,[69,596,530],{"class":227},[69,598,231],{"class":230},[69,600,535],{"class":255},[69,602,604,606,608],{"class":71,"line":603},43,[69,605,416],{"class":227},[69,607,231],{"class":230},[69,609,610],{"class":255},"https://cdn.jsdelivr.net/gh/ACL4SSR/ACL4SSR@master/Clash/ProxyLite.list\n",[69,612,614,616,618],{"class":71,"line":613},44,[69,615,438],{"class":227},[69,617,231],{"class":230},[69,619,620],{"class":255},"./rules/proxylite.yaml\n",[69,622,624,626,628],{"class":71,"line":623},45,[69,625,427],{"class":227},[69,627,231],{"class":230},[69,629,565],{"class":234},[69,631,633,636],{"class":71,"line":632},46,[69,634,635],{"class":227},"  chinadomain",[69,637,287],{"class":230},[69,639,641,643,645],{"class":71,"line":640},47,[69,642,405],{"class":227},[69,644,231],{"class":230},[69,646,410],{"class":255},[69,648,650,652,654],{"class":71,"line":649},48,[69,651,519],{"class":227},[69,653,231],{"class":230},[69,655,524],{"class":255},[69,657,659,661,663],{"class":71,"line":658},49,[69,660,530],{"class":227},[69,662,231],{"class":230},[69,664,535],{"class":255},[69,666,668,670,672],{"class":71,"line":667},50,[69,669,416],{"class":227},[69,671,231],{"class":230},[69,673,674],{"class":255},"https://cdn.jsdelivr.net/gh/ACL4SSR/ACL4SSR@master/Clash/ChinaDomain.list\n",[69,676,678,680,682],{"class":71,"line":677},51,[69,679,438],{"class":227},[69,681,231],{"class":230},[69,683,684],{"class":255},"./rules/chinadomain.yaml\n",[69,686,688,690,692],{"class":71,"line":687},52,[69,689,427],{"class":227},[69,691,231],{"class":230},[69,693,565],{"class":234},[69,695,697],{"class":71,"line":696},53,[69,698,118],{"emptyLinePlaceholder":117},[69,700,702,705],{"class":71,"line":701},54,[69,703,704],{"class":227},"proxy-groups",[69,706,287],{"class":230},[69,708,710,713,716,718],{"class":71,"line":709},55,[69,711,712],{"class":230},"  - ",[69,714,715],{"class":227},"name",[69,717,231],{"class":230},[69,719,720],{"class":255},"🚀 节点选择\n",[69,722,724,726,728],{"class":71,"line":723},56,[69,725,405],{"class":227},[69,727,231],{"class":230},[69,729,730],{"class":255},"select\n",[69,732,734,737],{"class":71,"line":733},57,[69,735,736],{"class":227},"    proxies",[69,738,287],{"class":230},[69,740,742,745],{"class":71,"line":741},58,[69,743,744],{"class":230},"      - ",[69,746,747],{"class":255},"⚡ 最低延迟\n",[69,749,751,753],{"class":71,"line":750},59,[69,752,744],{"class":230},[69,754,755],{"class":255},"DIRECT\n",[69,757,759,762],{"class":71,"line":758},60,[69,760,761],{"class":227},"    use",[69,763,287],{"class":230},[69,765,767,769],{"class":71,"line":766},61,[69,768,744],{"class":230},[69,770,771],{"class":255},"sub\n",[69,773,775],{"class":71,"line":774},62,[69,776,118],{"emptyLinePlaceholder":117},[69,778,780,782,784,786],{"class":71,"line":779},63,[69,781,712],{"class":230},[69,783,715],{"class":227},[69,785,231],{"class":230},[69,787,747],{"class":255},[69,789,791,793,795],{"class":71,"line":790},64,[69,792,405],{"class":227},[69,794,231],{"class":230},[69,796,797],{"class":255},"url-test\n",[69,799,801,803,805],{"class":71,"line":800},65,[69,802,416],{"class":227},[69,804,231],{"class":230},[69,806,483],{"class":255},[69,808,810,812,814],{"class":71,"line":809},66,[69,811,427],{"class":227},[69,813,231],{"class":230},[69,815,816],{"class":234},"180\n",[69,818,820,823,825],{"class":71,"line":819},67,[69,821,822],{"class":227},"    tolerance",[69,824,231],{"class":230},[69,826,827],{"class":234},"50\n",[69,829,831,833,836,839],{"class":71,"line":830},68,[69,832,761],{"class":227},[69,834,835],{"class":230},": [",[69,837,838],{"class":255},"sub",[69,840,841],{"class":230},"]\n",[69,843,845],{"class":71,"line":844},69,[69,846,118],{"emptyLinePlaceholder":117},[69,848,850,852,854,856],{"class":71,"line":849},70,[69,851,712],{"class":230},[69,853,715],{"class":227},[69,855,231],{"class":230},[69,857,858],{"class":255},"🎯 全球直连\n",[69,860,862,864,866],{"class":71,"line":861},71,[69,863,405],{"class":227},[69,865,231],{"class":230},[69,867,730],{"class":255},[69,869,871,873],{"class":71,"line":870},72,[69,872,736],{"class":227},[69,874,287],{"class":230},[69,876,878,880],{"class":71,"line":877},73,[69,879,744],{"class":230},[69,881,755],{"class":255},[69,883,885],{"class":71,"line":884},74,[69,886,118],{"emptyLinePlaceholder":117},[69,888,890,892,894,896],{"class":71,"line":889},75,[69,891,712],{"class":230},[69,893,715],{"class":227},[69,895,231],{"class":230},[69,897,898],{"class":255},"🐟 漏网之鱼\n",[69,900,902,904,906],{"class":71,"line":901},76,[69,903,405],{"class":227},[69,905,231],{"class":230},[69,907,730],{"class":255},[69,909,911,913],{"class":71,"line":910},77,[69,912,736],{"class":227},[69,914,287],{"class":230},[69,916,918,920],{"class":71,"line":917},78,[69,919,744],{"class":230},[69,921,720],{"class":255},[69,923,925,927],{"class":71,"line":924},79,[69,926,744],{"class":230},[69,928,858],{"class":255},[69,930,932],{"class":71,"line":931},80,[69,933,118],{"emptyLinePlaceholder":117},[69,935,937,940],{"class":71,"line":936},81,[69,938,939],{"class":227},"rules",[69,941,287],{"class":230},[69,943,945,947],{"class":71,"line":944},82,[69,946,712],{"class":230},[69,948,949],{"class":255},"RULE-SET,lan,🎯 全球直连\n",[69,951,953,955],{"class":71,"line":952},83,[69,954,712],{"class":230},[69,956,957],{"class":255},"RULE-SET,proxylite,🚀 节点选择\n",[69,959,961,963],{"class":71,"line":960},84,[69,962,712],{"class":230},[69,964,965],{"class":255},"RULE-SET,chinadomain,🎯 全球直连\n",[69,967,969,971],{"class":71,"line":968},85,[69,970,712],{"class":230},[69,972,973],{"class":255},"GEOIP,LAN,🎯 全球直连\n",[69,975,977,979],{"class":71,"line":976},86,[69,978,712],{"class":230},[69,980,981],{"class":255},"GEOIP,CN,🎯 全球直连\n",[69,983,985,987],{"class":71,"line":984},87,[69,986,712],{"class":230},[69,988,989],{"class":255},"MATCH,🐟 漏网之鱼\n",[25,991,992,994,995,998,999,1002],{},[66,993,240],{}," 别关，DNS 监听 ",[66,996,997],{},"0.0.0.0:1053","。直连域名的解析可以丢给主路由 DNS（示意里是 ",[66,1000,1001],{},"192.168.66.1","），也可以留着不设置，或者是用阿里腾讯等常见的公共 DNS，不碍事。规则集和代理组实际比上面多，这里只留骨架。",[21,1004,1005],{"id":1005},"大鹅蛋侧",[25,1007,1008,1009,1012,1013,1016],{},"Cudy 上用的是大鹅蛋图形界面。socks 指到 ",[66,1010,1011],{},"192.168.66.3:7890","，DNS 指到 ",[66,1014,1015],{},"192.168.66.3:1053","，N100 地址最好固定。",[25,1018,1019],{},[1020,1021],"img",{"alt":1022,"src":1023},"Global 配置，需要把 br-lan 加入绑定的 LAN 接口以代理 Cudy 下的设备","https://static.031130.xyz/uploads/2026/07/17/9150160eb44e1.webp",[25,1025,1026],{},"DNS 规则示意：CN 走普通解析，其他走喵喵拿 fake-ip。",[59,1028,1032],{"className":1029,"code":1030,"language":1031,"meta":64,"style":64},"language-ini shiki shiki-themes one-light one-dark-pro","upstream {\n  mainrouter: 'udp://192.168.66.1:53'\n  mihomo: 'udp://192.168.66.3:1053'\n}\n\nrouting {\n  request {\n    qname(geosite:cn) -> mainrouter\n    fallback: mihomo\n  }\n}\n","ini",[66,1033,1034,1039,1044,1049,1054,1058,1063,1068,1073,1078,1083],{"__ignoreMap":64},[69,1035,1036],{"class":71,"line":72},[69,1037,1038],{},"upstream {\n",[69,1040,1041],{"class":71,"line":78},[69,1042,1043],{},"  mainrouter: 'udp://192.168.66.1:53'\n",[69,1045,1046],{"class":71,"line":84},[69,1047,1048],{},"  mihomo: 'udp://192.168.66.3:1053'\n",[69,1050,1051],{"class":71,"line":90},[69,1052,1053],{},"}\n",[69,1055,1056],{"class":71,"line":96},[69,1057,118],{"emptyLinePlaceholder":117},[69,1059,1060],{"class":71,"line":102},[69,1061,1062],{},"routing {\n",[69,1064,1065],{"class":71,"line":108},[69,1066,1067],{},"  request {\n",[69,1069,1070],{"class":71,"line":114},[69,1071,1072],{},"    qname(geosite:cn) -> mainrouter\n",[69,1074,1075],{"class":71,"line":121},[69,1076,1077],{},"    fallback: mihomo\n",[69,1079,1080],{"class":71,"line":127},[69,1081,1082],{},"  }\n",[69,1084,1085],{"class":71,"line":133},[69,1086,1053],{},[25,1088,1089],{},"routing 规则如下，关键是把 fake-ip 网段强制送给喵喵：",[59,1091,1093],{"className":1029,"code":1092,"language":1031,"meta":64,"style":64},"routing {\n    pname(NetworkManager, systemd-resolved, dnsmasq) -> must_direct\n\n    dip(198.18.0.1/16) -> proxy\n\n    dip(192.168.66.1/24) -> direct\n    dip(geoip:private) -> direct\n    dip(geoip:cn) -> direct\n    domain(geosite:cn) -> direct\n    fallback: proxy\n}\n",[66,1094,1095,1099,1104,1108,1113,1117,1122,1127,1132,1137,1142],{"__ignoreMap":64},[69,1096,1097],{"class":71,"line":72},[69,1098,1062],{},[69,1100,1101],{"class":71,"line":78},[69,1102,1103],{},"    pname(NetworkManager, systemd-resolved, dnsmasq) -> must_direct\n",[69,1105,1106],{"class":71,"line":84},[69,1107,118],{"emptyLinePlaceholder":117},[69,1109,1110],{"class":71,"line":90},[69,1111,1112],{},"    dip(198.18.0.1/16) -> proxy\n",[69,1114,1115],{"class":71,"line":96},[69,1116,118],{"emptyLinePlaceholder":117},[69,1118,1119],{"class":71,"line":102},[69,1120,1121],{},"    dip(192.168.66.1/24) -> direct\n",[69,1123,1124],{"class":71,"line":108},[69,1125,1126],{},"    dip(geoip:private) -> direct\n",[69,1128,1129],{"class":71,"line":114},[69,1130,1131],{},"    dip(geoip:cn) -> direct\n",[69,1133,1134],{"class":71,"line":121},[69,1135,1136],{},"    domain(geosite:cn) -> direct\n",[69,1138,1139],{"class":71,"line":127},[69,1140,1141],{},"    fallback: proxy\n",[69,1143,1144],{"class":71,"line":133},[69,1145,1053],{},[25,1147,1148,1151,1152,1155,1156,1159,1160,1164,1165,1168],{},[66,1149,1150],{},"dip(198.18.0.1/16) -> proxy"," 要写在 ",[66,1153,1154],{},"domain(geosite:cn) -> direct"," 和 ",[66,1157,1158],{},"dip(geoip:private) -> direct"," 前面。喵喵回的 fake-ip 都落在这个网段里；客户端随后连的也是这些假 IP。",[1161,1162,1163],"strong",{},"如果不强制送过去，大鹅可能把流量判成直连","，结果去连一个根本不存在的 ",[66,1166,1167],{},"198.18.x.x","。",[25,1170,1171],{},"至于要不要上这套半拆方案，看家宽和节点吧。公寓里那 200Mbps，Cudy 一个人吃鹅完全没问题；带宽一宽、再挂上美西，它就该找个打工人了。主路由继续当米家，Cudy 看门分流，N100 扛重活——至少现在，吃鹅这件事不用再让一台迷你路由单刷。",[25,1173,1174],{},"最后和大家道个歉：为了让博客在特定区域能多活一段时间，文里用了不少暗语，如果因此读起来有点跳戏，还请见谅。",[21,1176,1177],{"id":1177},"参见",[1179,1180,1181,1187,1193],"ul",{},[1182,1183,1184],"li",{},[32,1185,1186],{"href":34},"Cudy TR3000 吃鹅记",[1182,1188,1189],{},[32,1190,1192],{"href":211,"rel":1191},[213],"是什么，为什么，怎么做 —— 谈谈 DNS 泄漏、CDN 访问优化与 Fake IP | Sukka's Blog",[1182,1194,1195],{},[32,1196,1199],{"href":1197,"rel":1198},"https://github.com/daeuniverse/dae",[213],"daeuniverse/dae: eBPF-based Linux high-performance transparent proxy solution.",[1201,1202,1203],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sJa8x, html code.shiki .sJa8x{--shiki-default:#E45649;--shiki-dark:#E06C75}html pre.shiki code .s5ixo, html code.shiki .s5ixo{--shiki-default:#383A42;--shiki-dark:#ABB2BF}html pre.shiki code .sAGMh, html code.shiki .sAGMh{--shiki-default:#986801;--shiki-dark:#D19A66}html pre.shiki code .sDhpE, html code.shiki .sDhpE{--shiki-default:#50A14F;--shiki-dark:#98C379}",{"title":64,"searchDepth":78,"depth":78,"links":1205},[1206,1207,1208,1209,1210],{"id":23,"depth":78,"text":23},{"id":51,"depth":78,"text":51},{"id":201,"depth":78,"text":201},{"id":1005,"depth":78,"text":1005},{"id":1177,"depth":78,"text":1177},[1212,1213],null,{"title":1214,"path":1215,"stem":1216,"date":1217,"lang":1218,"children":-1},"Nuxt SSG 博客的尾斜杠到底怎么加？","/2026/05/28/nuxt-ssg-trailing-slash-hydration-trap","posts/zh/nuxt-ssg-trailing-slash-hydration-trap","2026-05-28","zh-CN",1784254511495]