garryforreg420's recent timeline updates
garryforreg420

garryforreg420

V2EX member #176548, joined on 2016-06-08 16:34:11 +08:00
garryforreg420's recent replies
May 13, 2024
Replied to a topic by vfx666 问与答 sing-box 的 tun 模式如何使用,求问
不用,sing-box 的 tun 模式默认会劫持所有流量
May 13, 2024
Replied to a topic by jamesjammy061 问与答 sing-box 的 dns 规则是怎么路由的?
@jamesjammy061
outbound: any
这条就是用来解析代理服务器域名的
@ysc666 啥都不用设置,ccproxy 就为了在 warp 机上开个 socks5 代理,用其它能开代理的软件也行
旁路由上开启 dns 的 fakeip 模式,根据 geosite 来决定是否返回 fakeip
RouterOS 上只做一条路由(将 fakeip 段下一跳指向旁路由)
RouterOS 的 DHCP 将 DNS 设置为旁路由的地址下发给所有终端
旁路由上用 tun 或者 iptables 将 fakeip 的访问请求转给 sing-box,xray 之类的软件处理,
完。
用 sing-box 的 direct 开一个端口来当 dns 服务器不就行了,干嘛搞这么复杂.
op 的 dnsmasq 关了或者换个端口,sing-box 配置 inbound direct 53,主路由或者 op 的 dhcp 上把下发 dns 服务器指向 sing-box 开放的地址即可。
May 11, 2024
Replied to a topic by AceDogs Linux 请教一个关于 sing-box Tun 模式路由的问题
需要用 "inet4_route_address" 参数自定义路由表,否则默认就是所有流量都进去
May 10, 2024
Replied to a topic by RRyo 宽带症候群 远程回家还有啥方案吗
softether
@aoxiangtianji 用 fakeip
更合适的方法是 openwrt 旁路由用 fakeip 模式,域名解析全部交给 openwrt,需要分流的域名会返回 fakeip,在 routeros 上做个路由规则,把 fakeip 段路由回 openwrt,这样 routeros 完全不用搞什么动态路由了,要分流的自动交给 openwrt 上的 openclash 了。
cloudflare tunnel 吧,这个应该不太可能查出来
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   858 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 21:08 · PVG 05:08 · LAX 14:08 · JFK 17:08
♥ Do have faith in what you're doing.