Thursday, April 26, 2012

Squid on windows 7 vista xp

Installing squid on windows platform is not so easy. Squid is written for linux later ported to windows. It has files and folders as linux bin, sbin, share, libexec. The conf file is similar apache conf file. Alll the settings are stored in the .conf files which reside in the conf folder.

First question is whether you should download the precompiled binaries or the source. if you have enough resources and knowledge about compiling linux source then you must try the source. The Source code comes in 1/4th or less data size for all linux softwares. if u can't compile then download the binaries hosted by acne.

Now i assume you have got the binaries by compiling or download. Search the squid.default.conf file. Configure the port, the allowed IP. Most essential is the host name. if u don't have a hostname write one line
visible_hostname myhost.  you can replace myhost with anyname.

after configuring complete.

Copy the cmd executable to the sbin folder. run the cmd . type squid -i this will add squid service to windows services.

then squid -z    this will create all the folders.

then type only squid this will start squid

now you can start stop squid from windows services(My Comp->r Click->manage->comp manage->Services)

if some thing bad happens and you can not start some error like 1067

the you can see what happend at /var/cahe/log
this log files show you what happened so that you can change the parameters.

you can cascade proxy servers, you can control data usage and a lot with the conf file by adding acl commands.

if you have any problem comment here / mail me at

Proxy Server For Windows

Proxy Server for is necessary if you trying to monitor your data traffic or Control the traffic, bandwith usage, data usage. Some times i use it for sharing internet connection when the ICS (Internet connection sharing a software module in XP)  does not work. Some times i use proxy to restrict the unwanted software updates which increase my internet bill. Hostels, educational institutes use proxy to monitor and manage the bandwidth some people use it for load balancing. All of our IITs and NITs use multiple proxy servers in cascade. But they use domain controller, LDP, domain name...all the advance things. The best i have seen was IITB.

Ok now if i want to use one, what are the options ?

Yet i have seen only three two of them opensource. Squid and acFP work on windows and linux. CCProxy is only for windows, But it is the easiest installation.

  • CCProxy (Commercial)
  • Squid (OpenSource) 
  • acFP (OpenSource)

CCProxy is easy to install easy to monitor and easy to control, everything is configured in GUI windows and the log files and statistics represented in both graphical and text format. But the only disadvantage is it is a commercial software and the free version supports only three users. So if you have 3 or less expected users then u must use this.

Squid is comes with almost all popular linux distros like redhat fedora, if it is not in package you can download it from their site and install it. Like all linux software it is hard to install even if you are using the precompiled binaries. But it gives more options and more control and last most important thing is that its opensource.

acFP, i got it by googling with the words "proxysever sourceforge" as soureforge hosts most of the opensouce projects. i never search for manual or get started files but after running it when it replied Something in Russian (I guess it must be written forbidden or access denied) then i opened the conf folder and got all things in russian. Atleast got an way by editing the ipleast file. added both server IP and client IP.