# --block-ip-range

Source: https://zshot-cli.com/reference/flags/security/block-ip-range/
Markdown: https://zshot-cli.com/reference/flags/security/block-ip-range/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [Flags](https://zshot-cli.com/reference/flags/) › [Security](https://zshot-cli.com/reference/flags/security/)
CLI: `--block-ip-range` · REST: CLI only
Value: `CIDR`

Stops the browser from connecting to a CIDR range. Repeatable.

A matching [`--allow-ip-range`](/reference/flags/security/allow-ip-range) overrides it.

## Example

**CLI**

```sh
zshot -f pipeline.png \
  --block-ip-range 10.0.0.0/8 \
  --block-ip-range 192.168.0.0/16 \
  https://zshot-cli.com/example_assets/zrm/
```

## Related

Flags:

- [`--block-private-ips`](https://zshot-cli.com/reference/flags/security/block-private-ips/)
- [`--allow-ip-range`](https://zshot-cli.com/reference/flags/security/allow-ip-range/)
- [`--ip-blocklist`](https://zshot-cli.com/reference/flags/security/ip-blocklist/)

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
    - [Common](https://zshot-cli.com/reference/flags/common/)
    - [Agents](https://zshot-cli.com/reference/flags/agents/)
    - [Archive](https://zshot-cli.com/reference/flags/archive/)
    - [Browser](https://zshot-cli.com/reference/flags/browser/)
    - [Diagnostics](https://zshot-cli.com/reference/flags/diagnostics/)
    - [Document](https://zshot-cli.com/reference/flags/document/)
    - [Image](https://zshot-cli.com/reference/flags/image/)
    - [Navigator](https://zshot-cli.com/reference/flags/navigator/)
    - [Security](https://zshot-cli.com/reference/flags/security/)
      - [--adblock-rules](https://zshot-cli.com/reference/flags/security/adblock-rules/)
      - [--allow-ip-range](https://zshot-cli.com/reference/flags/security/allow-ip-range/)
      - [--allow-unsafe-ssl](https://zshot-cli.com/reference/flags/security/allow-unsafe-ssl/)
      - **--block-ip-range**
      - [--block-private-ips](https://zshot-cli.com/reference/flags/security/block-private-ips/)
      - [--container](https://zshot-cli.com/reference/flags/security/container/)
      - [--insecure-web-mode](https://zshot-cli.com/reference/flags/security/insecure-web-mode/)
      - [--ip-blocklist](https://zshot-cli.com/reference/flags/security/ip-blocklist/)
      - [--no-sandbox](https://zshot-cli.com/reference/flags/security/no-sandbox/)
    - [Server](https://zshot-cli.com/reference/flags/server/)
    - [Video](https://zshot-cli.com/reference/flags/video/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Docker](https://zshot-cli.com/reference/docker/)
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - [Timeouts](https://zshot-cli.com/reference/timeouts/)
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

