Install
openclaw skills install @xing-xing-coder/web-fetch-fakeipLegacy workaround for web_fetch fake-ip failures on older npm-global OpenClaw installs. Use when web_fetch is blocked under Clash, Mihomo, or Surge fake-ip mode and the OpenClaw version does not yet support the openclaw.json ssrfPolicy fix. For OpenClaw v2026.4.10 and later, prefer configuration instead of patching.
openclaw skills install @xing-xing-coder/web-fetch-fakeipApply a small, reversible patch so web_fetch works under TUN + fake-ip environments that resolve through 198.18.0.0/15.
Use this skill when:
npm install -g openclawweb_fetch fails with private/internal/special-use IP blockingv2026.4.10v2026.4.10 or later, use openclaw.json insteadThe script finds the bundled web_fetch call to fetchWithWebToolsNetworkGuard({...}) and inserts:
policy: { allowRfc2544BenchmarkRange: true }, // openclaw-fakeip-patch
This only opens the RFC2544 benchmark range used by common fake-ip setups.
bash patch-openclaw-global-fakeip.sh status
bash patch-openclaw-global-fakeip.sh inspect
bash patch-openclaw-global-fakeip.sh apply
openclaw gateway restart
Then retry the failing web_fetch request.
bash patch-openclaw-global-fakeip.sh revert
openclaw gateway restart
v2026.4.10+, prefer the built-in config fix instead of this patchscripts/patch-openclaw-global-fakeip.shreferences/README.md