How do I add excluded IPs in bulk?

Hello,

I want to add exclusion IPs in bulk on Cloudflare WARP for Windows.

The original file was sourced from GitHub.

I added the text in bulk via awk and formatted it as json.

awk '{print "[ \""$0}' chnroute.txt > 1.txt
awk '{print $0"\", \"\" ], "}' 1.txt > 2.txt

Reformat it using VS Code.

But I noticed that modifying %ProgramData%\Cloudflare\settings.json has no effect, it seems that Cloudflare WARP for Windows does not read data from here.

So how do I add excluded IPs in bulk?

Via the API:

https://api.cloudflare.com/#devices-set-split-tunnel-exclude-list

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.