Forum Discussion

1 Reply

  • Try this,

    when HTTP_REQUEST {
        if { not ( [class match [IP::client_addr] equals allowed_ips] ) } {
            HTTP::redirect "https://www.test.com/user.php"
        } 
    }
    

    where "allowed_ips" is an address-based data group. The data group option allows you to more easily modify IP addresses/ranges.