dsh-fakeip-http
允许网络请求接受虚拟IP解析并保持私有地址拦截。 适合使用Clash或sing-box等虚拟IP代理且需要正常网络请求的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Jayve/dsh-fakeip-http说明文档
阅读完整 README ↗Configuration
- id: fakeip-http
name: dsh-fakeip-http
config:
enabled: true
cidrs:
- 198.18.0.0/15
- 2001:2::/48
enabled(defaultfalse): accept synthetic answers. The shipped patch sets it totrue.cidrs(default198.18.0.0/15,2001:2::/48): synthetic blocks the policy may accept. IPv4 and IPv6 both work. A block that overlaps special-use space is refused and logged; if every configured block is refused, the defaults apply.
Find your forwarder's range before changing this:
| Forwarder | Typical setting |
|---|---|
| Clash / Mihomo | dns.fake-ip-range (often 198.18.0.1/16) |
| sing-box | fake-IP DNS server inet4_range / inet6_range |
| Surge | fake-IP range in DNS settings |
Use the range your forwarder actually emits. If it emits an IPv6 range as well,
include both. A range such as 28.0.0.0/8 is accepted if your forwarder uses it;
a private or ULA range is not, because that would expose the local network.