Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Smart Web Security
  • Getting started
    • All guides
    • Address lists
      • Rule for captcha
      • Rule for blocking black addresses
    • Viewing operations
    • Configuring monitoring
    • Setting up alerts
    • Configuring logs via Smart Web Security
    • Configuring logs via Application Load Balancer
    • Migrating to the new condition format in the API, CLI, and Terraform
    • Overview
    • Security profiles
    • WAF profiles
    • ARL (request limit)
    • Rules
    • Conditions
    • Lists
    • Managing bot traffic
    • Protecting domains
    • Response templates
    • Logging
    • Quotas and limits
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. Required and recommended rules
  3. Rule for blocking black addresses

Rule for blocking black addresses

Written by
Yandex Cloud
Updated at October 27, 2026
View in Markdown

Smart Web Security has pre-installed lists of untrusted (black) IP addresses. These lists streamline traffic checking and block requests from unsafe or suspicious addresses. Also, you can add custom blacklists.

Set up a rule for blocking black addressesSet up a rule for blocking black addresses

Management console
  1. In the left-hand panel, click Security profiles and select the profile.

  2. Click Add rule and do the following in the window that opens:

    1. Enter a name for the rule, e.g., block-by-list.

    2. Set a higher Priority than that of the Smart Protection rules, e.g., 9100.

    3. Enable Only logging.

    4. Specify the rule settings:

      • Type: Base.
      • Action: Deny or Show CAPTCHA.
      • Traffic: On condition.
      • Conditions: IP.
      • Conditions for IP: IP belongs to the list.
      • IP belongs to the list: Add pre-installed lists for filtering or your own blacklists. Requests from these addresses will be blocked.

      Tip

      We recommend that you immediately add these pre-installed blacklists: is_ddoser, is_tor, and is_anonymous.

    5. Click Add.

Useful linksUseful links

  • Managing lists
  • Creating a security profile
  • Adding a rule to a security profile

Was the article helpful?

Previous
Rule for captcha
Next
Viewing operations
© 2026 Direct Cursus Technology L.L.C.