Redirect device based on Source IP
HI. I have an issue where we have two different VIPs/URLs servicing similar information to two different part of the company. This is normally ok, until somebody from one part copies their URL and sends out to both part of the organisation in an email, then users who should go to website B get directed to Website A and it all falls apart. I am looking to inspect the IP address and if they have been directed to the wrong site redirect then to the correct site.
I have created the i-rule below but it seems to be ignored. And help would be great
when CLIENT_ACCEPTED { if { [IP::remote_addr] equals "10.1.14.131 mask 255.255.255.255"} { http:: redirect to "; } elseif {[IP::remote_addr] equals "10.0.0.0 mask 255.0.0.0"} { pool "iapp_sharepoint_pool"} }