Monday, 9 March 2009

Squid On Windows

Among users of linux squid is more foreign,
how to keep the windows users? whether there is squid for windows?
That has not been a way of squid please only way to here
For the squid in the windows here, please
I try to install the windows, although only a fraudulent course. because I never use.

After downloading, extract zip file downloaded in the squid Put in c:\squid
Sign in to c:\squid\etc\

Rename the file squid.conf.default and mime.conf.default into squid.conf and mime.conf
Edit squid.conf file in accordance with the example squid.conf configuration you have below.

#file squid.conf
http_port 3128
icp_port 0
visible_hostname commcell.vnet
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 8 MB
cache_dir ufs c:/squid/var/cache 4500 16 256
redirect_rewrites_host_header off
acl localnet src 192.168.0.0/24
acl localhost src 127.0.0.1/255.255.255.255
acl Safe_ports port 80 443 210 119 70 21 1025-65535
acl CONNECT method CONNECT
cache_mgr me@localhost
cache_access_log c:/squid/var/logs/access.log
cache_store_log c:/squid/var/logs/store.log
cache_log c:/squid/var/logs/cache.log
log_icp_queries off
cachemgr_passwd rahasia
acl manager proto cache_object
http_access allow manager
acl all src 0.0.0.0/0.0.0.0
http_access allow localnet
http_access allow localhost
http_access deny all
#eof


msdos promt to enter and then to the directory c:\ squid \ sbin
a squid cache directory first.

Type squid -z

C:\squid\sbin>squid -z
2008/11/28 13:54:04| Creating Swap Directories


When the correct configuration cache making it run better.
Then install squid as a service road to the default.

Type squid -i

C:\squid\sbin>squid -i
Registry stored HKLM\SOFTWARE\GNU\Squid\2.6\Squid\ConfigFile value c:/squid/etc/
squid.conf
Squid Cache version 2.6.STABLE6-NT for i686-pc-winnt
installed successfully as Squid Windows System Service.
To run, start it from the Services Applet of Control Panel.
Don’t forget to edit squid.conf before starting it.

Go to control panel -> Administrative Tools -> Services
search for a name and then start Squid

With the win xp sp2 and windows firewall active: Open service for squid
Log in to control panel -> windows firewall -> Exceptions
Click add port fill name: squid
Port number: (fill in the port open on the squid conf configurasi I fole port 3128)
and TCP in the switch and then ok
Do not forget the squid exceptions in check.

If you are the way you please in your browser settings proxy server 127.0.0.1 port 3128 if using configurasi such as the above example.

No comments:

Post a Comment