Hi Pardeep,
Well you look quiet confused in here. Like you said, Squid first checks its cache and automatically fetches the content if it can't find that in its cache. So no need to do anything special on client's proxy settings. It remains port 3128.
Off the topic; r u signed up with all these groups whom you have posted your query. :)
Regards
Arminder S Girgla
Moderator
----- Original Message -----From: Pardeep SharmaTo: accessroot@yahoogroups.com ; dawglinux@yahoogroups.com ; linuxified@yahoogroups.com ; fedora_mumbai@yahoogroups.com ; FutureOS_Linux@yahoogroups.com ; ilug-goa@yahoogroups.com ; linux_chandigarh@... ; linux-sys-admin@yahoogroups.com ; Linux_for_all@yahoogroups.com ; linux_se@yahoogroups.com ; LinuxAtAhmedabad@yahoogroups.com ; linuxforindia@yahoogroups.com ; linuxvadapav@yahoogroups.com ; Mumbai_GNULinux@yahoogroups.com ; mylug@yahoogroups.com ; nblug@yahoogroups.com ; onestop-it-jobs-usa-india@yahoogroups.com ; vtplinux@yahoogroups.com ; lug_noida@yahoogroups.com ; linuxnetwork@yahoogroups.comSent: Saturday, September 16, 2006 12:24 AMSubject: [linux_chandigarh] server request Ports to another server!!!(read it must)Hi Friends How r uCan anybody tell me about my one more problem about SQUIDAs we know that Squid(proxy) server listen on Port# 3128. So let us suppose it accept a request from a client on port 3128 for any URL.But Firstly it will check own Cache if that URL related link does not exist in cache then it will forward the request to web server over internetNow my problem is that when Proxy further forward the request of client then proxy from which port using for request to webserver port 80 over internet.For Example:-# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128How web server send back response on Port 80.(-dport 80)Or if server request further to another server for any purpose then do it use same port as listening port for clientBut in case of client it first open unpriviliged port greater than 1024 then request from that port to server.So in case of server what would happen,Actually i m confusing over itPlease reply me as soon as possibleRegards:Pardeep
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW