wholesale stainless steel jewelry manufacturer
1 thought on “wholesale stainless steel jewelry manufacturer How to use Squid Windows Edition to set up a secondary proxy server”
Leave a Comment
You must be logged in to post a comment.
wholesale stainless steel jewelry manufacturer
You must be logged in to post a comment.
poker jewelry wholesale I. Windows version of Squid download and installation
download Windwosnt version of Squid
1, unlock Squid-2.6.Stable13-BIN.ZIP, copy the squid file inside to C:/lower (Squid (Squid (Squid (Squid (Squid (Squid The default is C:/Squid)
2, Squid/ETC directory Copy
squid.conf.default. Cachemgr.conf
mime.conf.default Copy a copy of the rename of MIME.CONF
3. Open the squid.conf with a text editor, where you need to modify:
In found http_port 3128 to add a line of line at the back
http_port 80
to find #cache_peer sib2.foo.net sign 3128 3130 [Proxy-only] Add a line of line at the back
cache_peer 192.168.1.8 Parent 7001 0 no-Query
. Find# tag: visible_hostname to add one line later
visible_hostname volcano
Add#to annotate this line, and then add a row
http_access all
4. Perform
squid -i from command line to C:/Squid/sbin directory (adding Squid service into the service)
squid -z
Start Squid
Visit the Squid server:
192.168.1.2 (your Squid server IP address) >>> to 192.168.1.8:7001 (web server address)
http_access deny all打开把http_access allow all注释掉,你的访问就会被拒绝rn你需要配置一下:找到下面两行rn#acl our_networks src 192.168.1.0/24 192.168.2.0/24
#http_access all_networks
Open the annotation, modify your internal network IP (paragraph) can be set to 192.168.1.0/24, or you can set an IP
2. Squid.conf Configuration file
cache_mgr [email protected] #Set the administrator mailbox, it doesn't matter
visible_hostname ibi #Set the virtual host name. Need
cache_Peer 10.10.2.53 Parent 6666 3130 Login = Account: Passwd Default No-Query N#Set up superiors, 10.10.2.53 is the proxy address of our school, 6666 is his port number, r r r r r r r r
#accept, passwd is the Internet account password (of course I will not post our real account)
#hierarchy_stoplist CGI-BIN? N #'s url
#ACL QURY URLPATH_Regex CGI-BIN?#These two lines have no specific test, and should be related to CGI requests
#no_cache dender
aCl all src 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 rnacl manager proto cache_objectrnacl localhost src 127.0.0.1/255.255.255.255rnacl SSL_ports port 443 563rnacl Safe_ports port 80 # httprnacl Safe_ports port 21 # ftprnacl SAFE_PORTS PORT 443 563 # H ttps, snewsrnacl Safe_ports port 70 # gopherrnacl Safe_ports port 210 # waisrnacl Safe_ports port 1025-65535 # portsrnacl Safe_ports port 280 # http-mgmtrnacl Safe_ports port 488 # gss-httprnacl Safe_ports port 591 # filemakerrnacl Safe_ports port 777 # multiling httprnacl CONNECT method CONNECTrnacl lan-a src 10.49.41.150-10.49.41.190/32 #对ip For control, this line defines an IP
#paragraph is LAN-A
http_access allow lan-a #The IP of the control group LAN-A here can use Squid proxy
aCl Lan-B SRC 10.141 .96.0/24 #also set up an IP segment, the top three digits of the IP address are all IPs of
#10.141.96, in fact, the IP segment of our bedroom building
http_access allow lan-b nhttp_access allow manager localhostrnhttp_access deny managerrnhttp_access deny !Safe_portsrnhttp_access deny CONNECT !SSL_portsrnhttp_access allow localhostrnhttp_access deny allrnicp_access allow allrnnever_direct allow all #这One line solves the problem that cannot be logged in.