Jayve/dsh-fakeip-http ↗★ 0

dsh-fakeip-http

允许网络请求接受虚拟IP解析并保持私有地址拦截。 适合使用Clash或sing-box等虚拟IP代理且需要正常网络请求的用户。

套件
dsh-fakeip-http
相容性
待驗證
版本
1.0.1
授權
MIT
最近更新
2026年10月20日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Jayve/dsh-fakeip-http

Configuration

- id: fakeip-http
  name: dsh-fakeip-http
  config:
    enabled: true
    cidrs:
      - 198.18.0.0/15
      - 2001:2::/48
  • enabled (default false): accept synthetic answers. The shipped patch sets it to true.
  • cidrs (default 198.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:

ForwarderTypical setting
Clash / Mihomodns.fake-ip-range (often 198.18.0.1/16)
sing-boxfake-IP DNS server inet4_range / inet6_range
Surgefake-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.