After installing ganglia, you need to use the squid reverse proxy to accelerate the background service.Gmond_python_modules-master and copy squid. py and squid. pyconf to the corresponding location,Pass/Usr/local/ganglia/sbin/gmond-m to verify the configuration validity, but port
be able to do the same. Let's figure it out.The basic idea is:
Service port 3128 ----- squid ----- Dynamic IP connection ---- domestic accessService port 6666 ----- squid ----- proxy a ---- foreign access
The first thought is to
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
~] # Service squid start // start the squid service[Root @ lyy ~] # Squid-z // initialize the cache directory
(4) configure the firewall for the Gateway
To enable the Intranet test host to use the proxy server, open port 3128 in
in the following format.
5.8 Test
The test is successful.
5.9 test error page
In the virtualbox of the Oracle Vm, because the IP address is manually set above, the Internet cannot be accessed, just to test the access error page.
The parameters set in the squid configuration file are displayed on the error page.
Vi. Transparent proxy service
For enterprise gateway hosts, the client does not need to speci
I. basic configuration
Configure two NICs for the Squid Proxy Server
WAN: eth0: 10.10.10.200 gateway and DNS must be configured to allow Internet access
LAN: eth1: 172.161.254 do not need to configure gateway or DNS
Clinet: 172.16.1.2/24 gateway and DNS need to be configured
Squid (proxy)
; Restart regular very slow, you can first killall squid, in the start service;Detection configuration file, error:Could not determine this machines public hostname. Please configure one or set ' Visible_hostname '. There is no public hostname defined, the Visible_hostname visual hostname needs to be configured; (squid problem, the host name of squid will be dis
circumvent the server's concurrent connection limits. Transparent proxies are used in LAN environments.Squid configuration fileSquid configuration files are located in/etc/squid/squid.confHttp_port 3128//Agent service listening address and port (default port is 3128), if th
all sites to use connect to us via HTTP
Http_access allow all
# Allow all sites to use us as a sibling
Icp_access allow all
# Test the following sites to check that we are connected
Dns_testnames internic.net usc.edu cs.colorado.edu mit.edu yale.edu
# Run as the squid user
Cache_inclutive_user squid
This configuration file allows everyone to use
. log // set cache logsLogfile_rotate 60 // log rounds the 60-day cache_swap_high 95 // when the cache directory usage exceeds 95%, start to clean up the old cachecache_swap_low 90 // stop when the cache directory is cleared to 90%. Acl localnet src 192.168.1.0/24 // define the region network segment http_access allow localnet // allow the region network segment to use http_access deny all // reject all visible_hostname squid. david. dev // host name
, according to the implementation of different ways, but also can be divided into ordinary agents and transparent agents.
Normal Proxy: Requires the client to specify the address and port of the proxy server in the browser;
Transparent proxy: The gateway host for the enterprise (shared access to the Intern
[Email protected]~]# echo Modify the Web server IP addressModify the IP address of the Web server to 200.168.10.2[Email protected]~]# ifconfig eth0 200.168.10.26) Configure the client IP address7) Configure browser proxyOpen the browser (for example in IE, other similar), the Internet Options----LAN settings---proxy server, and so on, menu bar, tools, and so on, in the following format.8) TestingV. Transparent Agency SERVICESThe gateway host for the e
corresponds to the IP of 10.66.0.80 (Squid reverse proxy server IP)Here, squid reverse proxy server listening port: 8000 (Default is: 3128)On the client side, open the browser and enter in the browser address bar: www.serverA1.co
of which are Web proxies. A proxy server can process complex communication transactions between the client and the server. In addition, it provides anonymous information on the Network (LCTT: indicates that the IP address and browser information of the browser are hidden), which means that your identity and browsing traces are safe. The proxy can configure which websites customers can see and which website
" -- enable-baisc-auth-helpers = "NCSA" -- enable-underscore
Some of these options have special functions and will be described below.
Finally, run the make and make install commands to compile the source code into executable files and copy them to the specified location.
Basic Configuration
After the installation is complete, configure the run of Squid (not the previous configuration ). All projects are completed in
(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
interface to TCP 80) to the Squid listening port TCP 3128 instead of directly forwarding the packets to the WAN interface.
We use yum to start installing Squid.
#yuminstallsquid
Now we will change the Squid configuration to a transparent
;
C. The proxy server finds the data you want in the cache and retrieves the data;
D. the proxy server returns the data obtained from the cache to the client.
When the current server does not have the data required by the client:
1. The client sends a data request to the proxy server;
2. the proxy server checks its own
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.