URL Rewrite - IP Based Redirection

Follow
    Applies to:
Deployment model:

Versions Affected - All Windows IdP Server

 

Description - If you want to reroute via URL rewrite and base rule off IP address.

 

 

  1. 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.

    mceclip0.png


  2. Hit "Add Rule" on the top right corner of IIS and select "Blank Rule".

    mceclip1.png
    mceclip2.png


  3. 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 - *
    mceclip4.png

    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.
    mceclip3.png

    mceclip5.png


    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
    mceclip6.png


  4. Once you're done, remember to hit "Apply", and then go back and test your newly created rule!

    mceclip7.png
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.