cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7555
Views
0
Helpful
3
Replies

URL Redirection in Cisco ASA

nuruddin.ahmed
Level 1
Level 1

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

3 Replies 3

Maykol Rojas
Cisco Employee
Cisco Employee

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

Mike

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

Hi guys,

Did you get the URL redirection to work?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card