switching to squid automatically in case of isa2000 failure

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

Post by crazy_frog »

Thanks LinuxFreaK for your kind help. :)
Hâve á nice day !!
shakirz1
Battalion Quarter Master Havaldaar
Posts: 207
Joined: Sat Aug 09, 2003 5:00 pm
Location: Karachi
Contact:

Post by shakirz1 »

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