KB: 00002007
Last updated
Was this helpful?
Last updated
Was this helpful?
The client wants to drop the requests coming from particular client IP.
The client can utilize the policy rule in SLB by selecting "Drop Request" as rule action based on different rule conditions.
This can be achieved by the following way -
Step 1 :- Below picture shows that the listener page is opening properly.
Step 2 :- Now Go to Stack > SLB>Listeners>Rules>Policy rule>Add rule>Save changes. Select "Drop Request" as rule action
Step 3 :- Client needs to create at least one rule condition for implementing Policy Rule as shown in below picture.
Step 4 :- The below picture is showing the request is getting dropped on the bases of policy rule.
Here we can observe that the Policy rule is working as intended. As per rule action we are choosing that the SLB is dropping the request.
The client wants to redirect the request coming from particular client IP.
The client can utilize the policy rule in SLB by selecting "REDIRECT REQUEST" as rule action based on different rule conditions.
Steps to Solve :-
Step 1 :- Go to Stack > SLB>Listeners>Rules>Policy rule>Add rule>Save changes. Select "REDIRECT REQUEST" as rule action
Step 2 :- In above image we are also taking one https site where we want to redirect the request .
Step 3 :- In below image we are seeing that our request is going to https site that mentioned in redirection url (take a look of rule details in above image).
The client wants to Bypass the request coming from particular client IP.
The client can utilize the policy rule in SLB by selecting "BYPASS REQUEST" as rule action based on different rule conditions.
Steps to Solve :-
Step 1 :- Client have to blacklist the particular IP if the request are coming from that particular IP will be blocked. (Go to Stack > SLB > Listener > Profile > Setting icon > Geo Filtering > Blacklisted IP Prefixes > Click on save changes)
Step 2 :- Go to Stack > SLB>Listeners>Rules>Policy rule>Add rule>Save changes. Select "BYPASS REQUEST" as rule action .
Step 2 :- Below image shows that request coming from that particular IP is Bypassing the request on our default http site .