Traffic Spikes

Learn how to block traffic from a specific IP address.
Last updated on November 7, 2024
Security

Scenario: When reviewing your site's traffic in the live monitor of your project's Firewall tab, you notice a traffic spike coming from the IP address 11.22.33.44.

You view the traffic by IP Address by selecting Default Web Traffic from the traffic grouping drop-down and IP Address for the secondary drop-down

  1. Select your project from the Vercel dashboard and select the Firewall tab.
  2. Scroll down to the IP Blocking section and select the + Add IP button.
  3. In the Configure New Domain Protection modal, type 11.22.33.44 for the IP Address field and match the Host field with the domain of your production deployment.
  4. Select the Create IP Block Rule button.
  5. Apply the changes:
    • When you make any change, you will see a Review Changes button appear or update on the top right with the number of changes requested
    • Select Review Changes and review the changes to be applied
    • Select Publish to apply the changes to your production deployment
  6. Review the live monitor. The traffic from 11.22.33.44 should now be zero.