Skip to main content
Configure DDoS protection
Last update:

Configure DDoS protection

Enable redirect to HTTPS

  1. In the Contol panel, on the top menu, click Products and select Web Resources.
  2. Open the web resource page → DDoS Protection tab.
  3. Click Edit.
  4. Enable the **Redirect to **ggle switch from HTTP to HTTPS.
  5. Click Apply.

Restrict access by country

You can grant or restrict access to a site or web application from certain countries.

  1. In the Contol panel, on the top menu, click Products and select Web Resources.

  2. Open the web resource page → DDoS Protection tab.

  3. Click Edit.

  4. Turn on the Country Access Policy toggle switch.

  5. Select the type of policy:

    • permissive — access to content is allowed from all countries except the specified ones;
    • blocking — access to content is blocked from all countries except those specified.
  6. Select countries:

    • if you have selected an allow policy — those from which you want to block access;
    • if you have selected a blocking policy — those from which you want to allow access.
  7. Click Apply.

Allow traffic from an IP address

In order for the protection to allow all traffic from a specific IP address to pass through, it must be added to the whitelist.

  1. In the Contol panel, on the top menu, click Products and select Web Resources.
  2. Open the web resource page → DDoS Protection tab.
  3. Click Edit.
  4. In the IP Whitelist block, click Add.
  5. Enter the IP address. You can specify an individual IPv4 address or subnet in CIDR format.
  6. Optional: To add another IP address, click Add and enter the address. You can add an unlimited number of addresses.
  7. Click Apply.

Block traffic from an IP address

In order for the protection to completely block traffic from a particular IP address, it must be added to a blacklist.

  1. In the Contol panel, on the top menu, click Products and select Web Resources.
  2. Open the web resource page → DDoS Protection tab.
  3. Click Edit.
  4. In the IP Blacklist block, click Add.
  5. Enter the IP address. You can specify an individual IPv4 address or subnet in CIDR format.
  6. Optional: To add another IP address, click Add and enter the address. You can add an unlimited number of addresses.
  7. Click Apply.