Squid is a full-featured Web proxy cache. It's free, open-source software.
This tutorial is also available for Linux.
Download
Download the last stable release at this link:
http://squid.acmeconsulting.it/download/dl-squid.html
Install
This will suppose that your local Ethernet cards are set with IP: 192.168.0.xxx and your server card with IP: 192.168.0.1.
Extract the binary archive in the desired directory (default c:\squid)
Copy and rename the following files:
squid.conf.default to squid.conf
mime.conf.default to mime.conf
cachemgr.conf.default to cachemgr.conf
Now let's edit the squid.conf. Open this file on notepad and go to line 2454 and add:
acl LAN src 192.168.0.0/24
Go to line 2566 and add:
http_access allow LAN
Go to line 2893 and add:
visible_hostname squid
Go to line 2987 and add:
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
Close saving it.
Go to START and click RUN. Type and hit enter:
cmd
This will open the command line. Type and hit enter:
cd c:/squid/sbin
Type and hir enter:
squid -i
This will install the Squid service using the config file. The default config file is c:/squid/etc/squid.conf and default service name is Squid.
Type and hit enter:
squid -z
This will create the cache directory.
Start squid service:
net start Squid
It's all done. Next time Windows starts the squid service will be started by default.
Now go to others machines and configure, for example, Firefox to use Proxy 192.168.0.1 and Port 3128.
Uninstall
Go to START and click RUN. Type and hit enter:
cmd
This will open the command line. Type and hit enter:
cd c:/squid/sbin
Type and hir enter:
squid -r
This will remove the Squid service. You may remove the c:/squiq directory if you do not intent to use squid anymore.
For further details, check External Links.
External links
Squid Web Proxy Cache
Acme Consulting
Squid 2.6 for Windows
Configurando um Squid Ninja
Linux Home Server HOWTO - Squid Web Proxy
Linux Resources at KrnlPanic.com
FedoraForum.org - squid and dansguardian - problems!
FedoraForum.org - Internet Connection Sharing?
FedoraForum.org - Firewall
0 comments:
Post a Comment