10-05-2011 12:50 PM - edited 03-11-2019 02:34 PM
Hi,
I have a cisco ASA box with 8.3 code running on it. My setup is very simple as below -
Users--->Switch-->ASA-->Internet
There is a website x.x.x.x which is on internet, users access this website through browser as https://x.x.x.x. DNS entry for this url is done on internet and our local DNS server gets this entry from ISP DNS server. Now, there is a new version of this website which is launched as https://y.y.y.y , we want that anybody who access x.x.x.x should be redirected to y.y.y.y (for https or for all port).
This requirement can be fulfilled in Cisco ASA??? in simple terms we want url redirection.
Regards,
Ahmed
10-05-2011 09:38 PM
Hi
Since both are https, I dont think why not, you can try something like this:
Object network obj-x.x.x.x
host x.x.x.x
Object network obj-y.y.y.y
host y.y.y.y
Object service https
service tcp destination eq 443
and then create something like this
nat (inside,outside) source dynamic any interface destination static obj-x.x.x.x obj-y.y.y.y service https
That will cause everyone to be natted to the outside interface and then the destination is going to be changed from x.x.x.x to y.y.y.y on the service specified.
Try that out and let me know...
Mike
10-06-2011 05:59 AM
Dear maykol,
Thanks for your response, i would definetly try this and let you know the outcome but i have one more query on this. the above nat soolution, which you have given, will take precedence over existing PAT???
Thanks
10-21-2016 08:11 AM
Hi guys,
Did you get the URL redirection to work?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide