分享一个openwrt x86 fakeip网关/分流的全套方案,带ipt/nft规则,带mosdns全套配置,sing-box支持订阅,带ios回家配置,自用很久了。 #837
Replies: 14 comments 30 replies
-
谢谢分享,用着可以,我主要用mosdns分流国外转发给 sing-box,我把forward_fakeip的IP修改了。还有下面代码主要作用是什么,我用的docker安装mosdns,是否不需要下面的处理,谢谢
|
Beta Was this translation helpful? Give feedback.
-
是的 不需要 如果用我发的sb配置 就需要了 。 |
Beta Was this translation helpful? Give feedback.
-
请教一下这个怎么和daed配合呢,没太看明白 |
Beta Was this translation helpful? Give feedback.
-
请教一下,如果用的是shadowrocket做的代理,请问应该怎么调整配置呢?好像没有那个fakeip的功能。感谢~ |
Beta Was this translation helpful? Give feedback.
-
请问一下楼主,我是openclash(旁路由),但是没有ipv6,要怎么修改呢?看了几天实在是不知道如何修改,特来请问一下,万分感谢! |
Beta Was this translation helpful? Give feedback.
-
配合mihomo的话,是把nameserver设置为127.0.0.1:8888吗 |
Beta Was this translation helpful? Give feedback.
-
请问这里是什么意思 |
Beta Was this translation helpful? Give feedback.
-
给个建议,把序列和插件分开再加上注释。还有为什么要用服务器插件转交到插件?直接执行插件也可以呀 |
Beta Was this translation helpful? Give feedback.
-
感谢,的确好用 & 省事 |
Beta Was this translation helpful? Give feedback.
-
可以mosdns和singbox可以装在一台旁路由上吗?局域网内所有设备的dns设为旁路由ip? |
Beta Was this translation helpful? Give feedback.
-
建议开一个新的Repo做更新,方便大家一同跟进和维护。 |
Beta Was this translation helpful? Give feedback.
-
/opt/adguardhome/work # nslookup google.com 127.0.0.1:5335 ** server can't find google.com: SERVFAIL ** server can't find google.com: SERVFAIL /opt/adguardhome/work # nslookup google.com 127.0.0.1:53 ** server can't find google.com: SERVFAIL ** server can't find google.com: SERVFAIL /opt/adguardhome/work # nslookup google.com 127.0.0.1:35 /opt/adguardhome/work # nslookup google.com 127.0.0.1:8888 Non-authoritative answer: Non-authoritative answer: /opt/adguardhome/work # nslookup google.com 127.0.0.1:7777 Non-authoritative answer: Non-authoritative answer: /opt/adguardhome/work # nslookup google.com 127.0.0.1:2222 Non-authoritative answer: Non-authoritative answer: /opt/adguardhome/work # nslookup google.com 127.0.0.1:3333 Non-authoritative answer: Non-authoritative answer: /opt/adguardhome/work # nslookup google.com 127.0.0.1:4444 Non-authoritative answer: Non-authoritative answer: #主分流服务器
大佬看一下这是怎么回事
#转发请求到阿里dns
#转发请求至sing-box/mihome dns请求fakeip
google.com 主端口返回不了IP |
Beta Was this translation helpful? Give feedback.
-
我通过ros把fakeip段、电报ip段、奈飞ip段、8888、1111设置静态路由,指向旁路由,其他没什么问题,但是pt的ip变成了机场的ip |
Beta Was this translation helpful? Give feedback.
-
x86 openwrt配置sing-box透明代理 nft ipt fakeip网关模式 20240906.zip
1:mosdns只缓存非fakeip,不缓存fakeip,国内国外域名并发匹配,不泄露。
2:ipt/nft只劫持fakeip段,没有ipset变大缓慢的问题。
3:bt/pt的ip连接天然直连。
4:对未知域名有自行判断分流的能力。
需要的东西全在附件中,自取。
20241018:更新了一些mosdns逻辑
mosdns更新说明.zip
20241029更新,优化了一下逻辑:
mosdns-ph-20241029.zip
20241119更新,添加了泄露版本配置,优化了一些逻辑。
mosdns-ph-20241119.zip
20241129更新,优化了一些逻辑
mosdns-ph-20241129.zip
。
20241206更新,优化了一些逻辑,建议更新
mosdns-ph-20241206.zip
20250113更新,修复了问题,建议更新。
mosdns-ph-20250113.zip
20250113更新IOS回家配置
针对手机到了跨运营商的网络的情况做了优化,还是dns全回家,fakeip回家,real ip会重新在手机当前的网络请求223.5.5.5获取适合当前运营商的IP后直连。
ios hy2回家配置 20250103 分享版本.txt
Beta Was this translation helpful? Give feedback.
All reactions