to the internal host again intact. Several machines with internal addresses make up the intranet, and the proxy server is to communicate the intranet and the Internet to solve the problem of intranet access to the Internet. This agent is irreversible, the host on the Internet can not access any one with internal address of the machine, so as to ensure the security of internal data.
One advantage of the agent software is that it can test many things
Squid is an application-level agent, in order to ensure that the client host and server host network connectivity, the need for client software to do the appropriate settings before use, such as Internet Explorer set proxy server address, port and so on.Web caching is necessary for a large, busy network, an article on the IBM Web site that provides a detailed ana
Article title: use Squid to implement proxy Internet access and billing. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
---- The shortage of IP addresses is a real problem facing the rapidly developing network. how can we solve this problem? Connecting a computer with o
. There are so many nginx configuration commands and variables that it is really difficult to figure out the meaning of these variables for a short time. Suit has tried several configurations and failed to succeed. Leafing through the domestic only a book Nginx-"actual combat nginx", but helpless too thick, turned over three chapters, simply put down. Change the tools!
The most traditional free HTTP proxy tool for open source is
How to use squid to set up a proxy server in linux _ enough details on how to use squid to set up a proxy server in linux, which is around the world, but some details are unclear on the Internet, it has been a good job for a long time. In a computer linux system, how can we build a
All the files on my site are static HTML, so in order to speed up the speed of the web, I use squid to implement the reverse proxy caching function.
@ Install Squid
To be lazy, use the ports installation directly, because I have all the server systems installed in the/s partition, so set the prefix to/s/
squid:squid/data/cache/# squid-z2013/06/12 16:25:14| Creating Swap Directories2013/06/12 16:25:14| /data/cache existsOK, after the initialization is complete, squid can be started:#/etc/init.d/squid StartStarting squid:.Test:1. Use IE to test, set proxy IP and port, open
:
Service squid start
Note:Squid can also run automatically when the system is started by enabling Squid in ntsysv or setup (system service menu. InAfter any changes are made to the configuration file, the currently running Squid process must be restarted. You can use the following command to complete the process:
Service s
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
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
:
# Vi src/mysql_auth.confMysqld_socket/tmp/mysql. sock#/Usr/ccs/bin/make#/Usr/ccs/bin/make installCreate a user database:# Cd scripts# Mysql-u root-p ******
Test MYSQL_AUTH
1. Add a test user# Mypasswd llzqq 123456Password record ADDED succesfully.
2. Verify the created user# Mysql_authLlzqq: 1234560 K
3. delete an existing user and use this command.# Mypasswd-d username
3. Add the MYSQL_AUTH authentication section in SQUID. CONF.
# Vi/etc/
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 you open # http_access deny all and comment out http_access allow all, your access will be rejected.
You need to configure: Find the following two lines
# ACL our_networks SRC 192.168.1.0/24 192.168.2.0/24
# Http_access all
stream to the browser, which is a little different from Lighttpd. Lighttpd sends the data to the browser only after the backend data is fully received.
Conclusion: The reverse direction of Apache and squid will increase the burden on the backend web, because each user request will establish a persistent connection with the backend server on the proxy, knowing
" command on the server to restart the Squid service.
② Configure the IP address and port number of the proxy server in the Web browser of the client.
③ When accessing any website, the Web browser will pop up a dialog box for entering the user name and password.
④ Enter the correct user name and command to connect to t
As shown in the network configuration, Squid uses CentOS5.8 + squid, and the web server uses FreeBSD + nginx for testing. The local network uses VMnet1 for simulation, the public network uses VMnet2 for simulation, and the IP address is planned as shown in figure. First install the web server and select Vmnet2.pkg _ ad
Tags: Internet service configuration file, Internet Explorer, Proxy Server
Experiment topology:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/13/wKioL1RKOo6AXrJzAAKMWnZ2NlI216.jpg "Title =" three virtual machines, one router as the Internet "alt =" wkiol1rkoo6ax1_zaakmwnz2nli216.jpg "/> requirement: Configure iptables policies to share the Internet with SNAT
Configure the Squid
: Select the authentication method for basic, authentication program path and password file path.Second line: Number of processes that certify the programThird line: Certification validity timeLine four: Authentication domain content, the above defined web browsing needs to enter the user passwordFive, line six: Set user access to allow authenticationGenerate a password fileThe/etc/squid/passwd file in the
basic children 5Auth_param basic credentialsttl 2 hoursAcl password proxy_auth REQUIREDHttp_access allow passwordAuthenticate_ip_ttl 2 hoursHttp_access deny all
Iv. Client settings
Fill in the IP address and port of the SQUID server in the proxy server settings of the browser:IP address 192.168.0.1: 3218
Enter the IP address, port, user, and password of the SQUID
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.