07-30-2003 04:04 AM - edited 03-02-2019 09:13 AM
we want to implement the following scenario: We want all URL requests from our users (i.e URL requests to any random web site) to be redirected from the local cisco router to another specific web site. i.e if a user wants to access www.cisco.com, then the router should redirect his request to www.whatever.com .
Can we do this using a router?
Thanks
07-30-2003 05:41 AM
Hi, what about using
ip nat inside destination
command?
See http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/ipras_r/ip1_i2g.htm#1079025
for details.
Regards,
Milan
07-30-2003 06:01 AM
dear Milan,
thanks a lot for the info.
So this command translates the destination address from the inside users right?
08-01-2003 12:52 AM
Hi, where can i find more materials about the " ip nat inside desination" command ??
thanks a lot!!
leo
08-01-2003 02:50 AM
08-01-2003 01:27 AM
Since ip nat inside destination uses a standard access list, there is no way to define it for http traffic only, so this will redirect *all* traffic to the translated address, right?
To solve this, maybe you could implement PBR to route all http traffic to a loopback interface (or a dedicated other router) and perform the nat on the loopback only (or on the other router) ?
Herbert
08-01-2003 02:24 AM
Have you tested it?
I know it's written in the config manual but I think it might be a mistake and extended ACL might be allowed....
router(config)#ip nat inside destination list ?
<1-199> Access list number for global addresses
WORD Access list name for global addresses
Regards,
Milan
07-30-2003 05:47 AM
Hi,
From which direction you want redirection. For internal users/external users?
Ashok.
07-30-2003 05:59 AM
yes, preferably from internal users to external users.
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