11-05-2004 03:45 AM - edited 03-02-2019 07:45 PM
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
11-05-2004 05:07 AM
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:
Hope this helps,
11-08-2004 02:21 AM
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
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