Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

whitelist URL

FAJUMO
Nimbostratus
Nimbostratus

I have a VS, accessed externally, required is for all access to the VS blocked except the whitelisted URL in the datagroup.

Need an irule to achieve this

2 REPLIES 2

oguzy
Cirrostratus
Cirrostratus

Hi Fajumo,

You can try the floowing:

when HTTP_REQUEST {
  if { not ([ class match [HTTP::uri] contains your_datagroup_name]) } {
    drop
  }
}

Hello Oguzy,

I have applied it and asked them to test.

Will update you on the outcome.

Thanks so much