Versions Affected - All Windows IdP Server
Description - If you want to reroute via URL rewrite and base rule off IP address.
- Let's open IIS manager and select the realm you want to create the rule in. In our example today, we'll be using my realm999.
- Hit "Add Rule" on the top right corner of IIS and select "Blank Rule".
- Fill out the following:
Name - You can give it whatever name you want
Requested URL - (this depends on what you're trying to do; you can set it to match if you want it to filter those IPs that match, or does not match to filter the ones that do not match)
Pattern - *
Conditions - Hit add here, and under condition input, type in {REMOTE_ADDR}
Pattern - (whatever IP you are trying to allow in/keep out, depending on your rule so far)
*NOTE* - You can do IP ranges here as well.
Action - You can set this to whatever you'd want the response to do via the rule. In our case here, I am redirecting to www.secureauth.com - Once you're done, remember to hit "Apply", and then go back and test your newly created rule!
Comments
Please sign in to leave a comment.