Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

redirect web page

Hi,

I have a 2801 router. Is there another way to deny access to a specify web site ( like youtube, facebook .. etc ) without create acl's with specifed ip's ? The router doesen't support url filtering. I thought to do something like redirect traffic to another site : for example if one client want to access www.youtube.com that the browser will open www.xxxxx.com. Is this possible ?

Thanks.

4 REPLIES

redirect web page

Hi,

See below a recent discussion on a similar topic.

https://supportforums.cisco.com/message/3602442#3602442

You don't need to know the IP address, you can use NBAR for URL filtering.

If you want to redirect traffic to a different web site then as far as I know you would need to use a proxy server.

Don't forget to rate posts that are helpful.

Cisco Employee

redirect web page

Hi Toma,

That is not possible on the router basically because router can only inspect packet header up to L4 layer (checking ports) and not able to check higher packet levels thus it will never see the URL. It can only check the destination ip addrss and do policy routing  moving particular ip to a different ip thus re-routing to a different server - though not sure if server will reply back correctly.

To do it you need set up ip policy-routing route-map on the interface which will match for particular ip addresses and re-route those to a different one. The problem here is you never know which ip user will gett connecting to web-site as there are many ones for s ingle URL.

You need smth like proxy to examin packet on higher level.

Or you can set the host file on individual PC telling nothing to user. In that file you can resolve each URL in question into a particular ip address you want user to be directed.

Nik

New Member

redirect web page

Thanks.

Cisco Employee

redirect web page

One more opportunity is to use NBAR as suggested hear by Sean:

https://supportforums.cisco.com/message/3604557#3604557

Nik

476
Views
0
Helpful
4
Replies
CreatePlease login to create content