cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
683
Views
0
Helpful
2
Replies

Redirection to Proxy server

mrarahman
Level 1
Level 1

Hi all,

I would like my Cisco 2503 redirect all Client requests coming on port 80 to a SQUID proxy.This proxy looks for the applied rules and send back the packet to 2503. Is this realisable in 2503.

And how would I configure this on my Router.

IOS (tm) 2500 Software (C2500-J-L), Version 11.2(15a),

I appreciate yoru feedbacks.

Cheers

AR

2 Replies 2

Harold Ritter
Spotlight
Spotlight

You can use Policy-based routing for that purpose. This feature is available in the version of code you are currently running.

Here's a brief sample config of how this can be achieved:

route-map redirect-http permit 10

match ip address 100

set ip next-hop

access-list 100 permit tcp any any eq 80

int s0

ip policy route-map redirect-http

For more information on PBR, please refer to the following URL:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios112/112cg_cr/5cbook/5ciprout.htm#xtocid9844225

Hope this helps,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

gurkang
Level 1
Level 1

hi,

if your proxy is in local network this could be done like this;

lets say your lan segment uses 192.168.1.0/24

proxy IP is: 192.168.1.200

int e 0

ip address 192.168.1.254 255.255.255.0

ip policy route-map set-proxy

exit

access-list 110 permit tcp any any eq 80

route-map set-proxy permit 10

match ip address 110

set ip next-hop 192.168.1.200

exit

if your proxy is not on the same router, you can run WCCPv1 with squid

hope this works

regards,

Gurkan