I. What is Squid?
Squid is a software used to buffer Internet data. In this way, it implements its function by accepting requests from the target (object) that people need to download and processing these requests as appropriate. That is to say, if a person wants to download a web page, he requests Squid to get it for
GFW blocked the HTTP/SOCKS5 agent, HTTP Proxy is the keyword filtering, SOCKS5 agent is the blockade protocol. However, some special low-end ports do not have such treatment, known to have 21, 25.20 port has been blocked, 21 ports will now be limited speed 400Kbps, after conversion of about 50KB/S, we recommend the use of 25 ports, unlimited speed.First, the system environmentOperating system: CentOS release 6.7 (Final)
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. Select Vmnet2. pkg_add-r
I. Traditional AgentThe use of traditional proxy is characterized in that the client's related programs (such as IE browser, QQ chat tool) must specify the proxy server address, port and other information. The following is a simple application case to learn the configuration and use of traditional agentsBased on the Internet network environment, the main requirements of the case are described as follows:
Squid Introduction:
Squid is a proxy server software, also known as squid cache. It is a popular free software (GNU General Public License) proxy Server and Web caching server. Squid h
Article Title: Set up a Squid proxy server. 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.
Author: D.S. Oberoi
Is Squid already installed?
The Squid rpm file has been bundled wi
SQUID proxy server for user authentication
SQUID and MYSQL are installed using the binary installation package released by SUN, which can be found in software_companion_x86 CD; and MYSQL_AUTH can be found by GOOGLE search.
1. install and configure SQUID + MYSQL
1. create Users and Groups# Groupadd
relatively safe and reliable method. Through the establishment of a dedicated WWW (FTP) agent to meet the user's main needs, through the erection of SOCKS5 agents to meet the needs of users.
Second, hardware and software selection
Hardware
Cache server can be a common PC server plus cache software (such as squid, Inktomi) composition, can also be a hardware and software system and a dedicated cache server. According to the actual situation of the
Http_access Deny CONNECT! Ssl_ports
# only allow cachemgr access from localhost
http_access allow localhost Manager
Http_access Deny Manager
# We strongly recommend the following is uncommented to protect innocent
# Web applications running on the proxy server
# One who can access services on ' localhost ' is ' a ' local user
#http_access Deny To_localhost
#
# INSERT YOUR OWN rule (S) ALLOW ACCESS from
Vim/etc/squid/squid.conf http_access deny! Safe_ports #拒绝不安全端口请求 #http_access deny net # deny CONNECT to other than secure SSL ports http_access deny CONNECT! Ssl_ports #不允许连接非安全ssl_port端口 auth_param Basic program/usr/lib64/squid/ncsa_auth/etc/squid/passwd # Password store path, set via NC Sa_auth program to read Debine Auth_param basic program/usr/lib/
only need to connect to my Dell D620.
Step 1: Install
Sudo apt-get install squid
Step 2: Configure squid. conf
Sudo vi/etc/squid. conf
Add a row to set visible_hostname:
Visible_hostname XXXX # XXXX is the name you want
Set the allowed CIDR blocks:
Acl lan src 192.168.2.0/24
Http_access allow lan
The preceding two statements allow subnet
The reverse proxy configuration process is actually not much different from the forward proxy, the only difference is that the configuration fileA place to change. Need to put:Http_port 3128SwitchHttp_port Accel Vhost VportThen add the backend real server information you want to proxy:Cache_peer 180.97.33.108 Parent 0 originserver Name=aCache_peer 101.226.103.106 Parent 0 originserver Name=bCache_peer_domai
1. Principle of Experiment:The client's request goes to the proxy server first, and the proxy server determines whether to request the Web server based on its own ACL. If the Web server is requested, the cache is established on its own hard disk, and if there is the next same request, it will be returned directly from
(CentOS) iptables + squid transparent proxy + Firewall ultimate configuration-Linux Enterprise Application-Linux server application information, the following is a detailed description. Many people are constantly asking iptables + squid to do transparent proxy. I am afraid to give a unified answer here. If you have any
Many people are constantly asking iptables + squid to do transparent proxy. I am afraid to give a unified answer here. If you have any questions, I hope you will give me some comments. Related Resources: man.chinaunix.net, with iptables man in the lower left corner. many people keep asking
Iptables+ Squid is used as a transparent
Release date: 2012-04-16Updated on: 2012-04-17
Affected Systems:Squid Web Proxy Cache 3.1.19Description:--------------------------------------------------------------------------------Bugtraq id: 53024
Squid is an efficient Web Cache and proxy program. It was initially devel
of the PCI Nic is 10 M. Therefore, the PCMCIA Nic is connected to the Internet, DHCP is set, public IP is obtained, and the Intel Nic is set to static IP: 192.168.2.1, used to connect to the subnet, you can use an Ethernet switch to expand the number of connections, but it is not required for me now, because I only need to connect to my Dell D620.
Step 1: InstallSudo apt-get install squid
Step 2: Configure 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.