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 _ add -...
As shown in the network configuration, Squid
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
SSH solves this problem well. You only need one vps to configure. It is quite easy to set up.
Install webminWebmin is a free software for visual management of linux systems. We installed it to facilitate the management of squid proxy servers or linux systems. The detailed installation address is as follows:Install the Webmin Management System on CentOS
Install the squi
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)
a simple record of squid. Configuration of transparent proxy serverEnvironment: VirtualBox + CentOS 6.0 + squid-3.1.4-1.el6.i6860, check whether squid is installed by default, not installed first installed[Email protected] ~]# Rpm-qa squidsquid-3.1.4-1.el6.i6861, the virtual machine to add two network cards, all set up
Virtual Machine linux can be connected to the public network, and the Intranet ip address is 192.168.56.78Modify/etc/squid. conf as follows:Http_port 192.168.56.78: 8080Cache_mgr qwerty@gmail.comCache_dir ufs/var/spool/squid 100 16 256Cache_mem 10 MBCache_swap_low 90Cache_swap_high 95Cache_access_log/var/squid/access. logCache_log/var/
Squid transparent proxy
Transparent proxy is the perfect combination of NAT and proxy. It is called transparent because in this way, the user does not feel the existence of the proxy server and does not need to use a browser or other client tools, such as network express) fo
Experiences of squid on multi-port proxy
It is very convenient to use squid to open a second-level proxy, that is, to write an article on the configuration file, which makes the default configuration file look big. Generally, a new one is written.A proxy is provided to the b
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 // install nginx ifconfig le0 200.98.1.1 netmask 255.255.255.0 up // configure the Network
Squid proxy server port problem help-urgent-Linux Enterprise Application-Linux server application information, the following is a detailed reading. Dear bosses, please help me. I encountered a Problem When configuring a SQUID proxy server in a LAN. When using port 8080, the proxy
In Ubuntu, use Squid to set a server as a proxy server. First install squidsudoapt-getinstallsquid and then check that squid is installed there and whereissquid is used to modify the squid configuration file sudogedit/etc/squid. conf and then locate # Andfinallydenyallothera
This section briefly introduces the configuration of the proxy server squid, which has previously recorded the reverse proxy configuration, but is more widely used in the production environment for proxy and forward transparent proxy, this is also the focus of the RHCE test
Apache
Yum Install httpd mod_ssl-/etc/httpd/conf.d/443 HTTPS443> ServerName example.com sslengineon/cert/server.crt /cert/ Server.key proxyrequests on proxyvia in Order deny,allow allow from all systemctl restart httpd
Nginx
Nginx default does not support proxy HTTPS requires third-party module supportCompile and install NginxYum InstallGcGCC GCC-c++ Pcre-devel Zlib-devel Openssl-develPatch w
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 YOUR CLIENTS
#
# Example rule allowing acce
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 its own cache.2. Specific operation:/etc/squid
, so that the speed of access slows down, but the second visitors and later visitors need the information, proxy do not want to remote server request, The data in the cache is sent directly to the subsequent requester, which reduces the traffic to the remote server, and the transmission is faster because the proxy is local.
Second, the use of squid in the constr
Ubuntu8.04 use Squid as a proxy server-Linux Enterprise Application-Linux server application information. The following is a detailed description. I always wanted to create an Internet proxy server and run Openwrt on WRT54G. I had little knowledge to find, and I was unable to configure it successfully. Now I started running Ubuntu on T23.
Although the configurat
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/
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
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.