Download the squid of windwosnt:
HTTP://Squid. acmeconsulting. it/Download/Squid-2.6. Stable13-Bin.zip
1. Put squid-2.6. Stable13-Decompress bin.zip and copy the squid folder to c: \ (the default squid is c: \ squid)
2In the. Squid \ etc directory
Copy squid. conf. Default and rename it Squid. conf.
Copy cachemgr. conf. Default and rename it as cachemgr. conf.
Mime. conf. Default copy a copy and rename it as mime. conf.
3. Open squid. conf in the text editor, where you need to modify it:
Locate http_port 3128 and add a line later
Http_port80Transparent
Find # cache_peer sib2.foo.net sibling3128 3130 [Proxy-only]Add a row to the end
Cache_peer192.168.1.8Parent7001 0No-Query originserver
Find # Tag: visible_hostname, and add a line to the end.
Visible_hostname volcano (any name)
Find http_accessDenyAll add # comment out this line before it, and then add a line
Http_access allowAll
4. Execute from the command line to the C: \ squid \ sbin directory
Squid-I (add the squid service to the Service)
Squid-Z
Installation Complete
5. Start squid from the service
Access the squid Server:
HTTP://192.168.1.2(Your squid Server IP address)>>>Point to http://192.168.1.8:7001(Web server address)
If the # http_accessDenyIf all is enabled, comment out http_access allow all, And your access will be denied.
You need to configure: Find the following two lines
# ACL our_networks SRC192.168.1.0/24 192.168.2.0/24
# Http_access allow our_networks
Open the comment and modify your intranet IP address (segment) to 192.168.1.0/24. You can also set an IP address