Create a responder policy to allow/block a set of ip's
CLIENT.IP.SRC.TYPECAST_TEXT_T.CONTAINS_ANY("data_set")
In the above expression I have called the data set in the expression
For subnet range the policy will be as follows:CLIENT.IP.SRC.IN_SUBNET(x.x.x.x/32)
Now if we want to evaluate single Ip and subnet we need to create the following expression:
CLIENT.IP.SRC.TYPECAST_TEXT_T.CONTAINS_ANY("data_set") && CLIENT.IP.SRC.IN_SUBNET(x.x.x.x/32)
>You can use other subnets using && operator. Take assistance of expression editor to configure the policy.
>And create a action (in this case I am creating a action as redirect)
>Bind the responder to the virtual server
Since the above expression is true for ip 1.1.1.1 you will get redirected to https://citrix.com