switching to squid automatically in case of isa2000 failure

General discussion about PLUC and Linux in Pakistan.
Posts: 72
Joined: Fri Dec 16, 2005 9:44 am
Location: Karachi, Pakistan

Post by crazy_frog » Thu Dec 22, 2005 8:51 am

Thanks LinuxFreaK for your kind help. :)
Hâve á nice day !!

Battalion Quarter Master Havaldaar
Posts: 207
Joined: Sat Aug 09, 2003 5:00 pm
Location: Karachi

Post by shakirz1 » Fri Dec 23, 2005 10:32 am

I think you should try this, first forward all request to squid and define

cache_peer isa_ip_address parent 8080 0 no-query

but do not mention never_direct allow tag in squid. if squid can not forward this request to isa it will automatically forward this request from its direct connection.

# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128

if I am wrong plz correct me.

Post Reply