Koozali.org: home of the SME Server

How to set squid for proxying a LAN behind a CISCO Router

Offline arcano

  • **
  • 22
  • +0/-0
    • http://www.iems.df.gob.mx
How to set squid for proxying a LAN behind a CISCO Router
« on: March 18, 2009, 08:38:04 AM »
HI, i'm trying to make the SME to cach as transparent proxy with DansG over the LAN but it is set as private server because i have a cisco router like gateway. I've try to force the web trafic to my sme with these rules:

access-list 1 permit 172.16.0.0 0.0.3.255
access-list 100 deny   tcp any any eq www
access-list 100 deny   tcp any any eq 8080
access-list 100 permit tcp host 172.16.3.181 any
access-list 100 permit tcp any any


where 172.16.3.181 is my SME and is the only that can go out, then i have to aply a map like these:

route-map proxy-redirect permit 10
 match ip address 100
 set ip next-hop 172.16.3.181


but i guess i haven't do as correct on the configuration of the squid part, because i saw another ubuntu machine using squid, making the job, but it just have squid with DansG and any other service (like apache or whatever), those this conditions are relevat to work SME like proxy over the LAN?
.........