Simple configuration of squid reverse proxy server in Windows

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.