Blocking by IP Address
Last updated
Was this helpful?
Last updated
Was this helpful?
To block traffic coming from one or multiple IP addresses, you can incorporate the following configuration snippet within the vcl_recv function.
In this example, we use the IP address provided in the header. If the request comes from any of the listed IP addresses, it will be blocked immediately.