are specified.[#54 #[email protected] ~] #vim/etc/squid/squid.conf# Squid normally listens to port 3128Http_port 3128 #squid端口没有打开是因为之前做过实验改为了80, just write this off. Port 80 is also available, but
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 requirem
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/
Label: style HTTP color ar strong SP file on BS Environment Introduction VM 1: IP Eth0192.168.0.100/24 Eth1: 200.168.0.100/24 VM 2 (simulated Internet) 200.168.0.109/24 (run Web Server) PC () IP 192.168.0.111/24 gateway 192.168.0.100 Implementation of transparent proxy Basic implementation 1. ModifySquid. conf Http_port 192.168.0.100: 3128Transparent 2. Reload the configuration file 3. AddIptablesThe rule sets the internalHTTPRequest re
I admit that my title is too powerful. When I solve the problem mentioned in this article, I did think of this song again and again.
This is the case: I use an iMac on the Intranet and access the Internet through the proxy server. In other words, this machine is newly purchased and requires the development environment to be installed. After you download and install eclipse and ADT (Android development tools), the next step is to install platforms and
Configured as follows
The code is as follows
Copy Code
Http_port 142.4.106.1:3128Http_port 142.4.106.xx:3128Http_port 142.4.106.xx:3128Auth_param Basic PROGRAM/USER/LIB/SQUID/LIBEXEC/NCSA_AUTH/ETC/SQUID/PASSWDAuth_param Basic Children 5Auth_param Basic Realm Squid proxy-caching Web serverAu
This is actually the same as configuring the HTTP proxy, I did not use the support of the Squid version of SSL, so repeatedly toss does not work!
First have to check if you are using the Squid version is to support SSL, mainly to see if the Squid\sbin\ssleay32.dll file exists, if there is no this file that will have t
Two-level Internet proxy Server, with very little, but sometimes you want to control a small part of the LAN network of machines, on the internet. Two days ago set up a two-level agent, write a note.
The following figure, the first and two proxy servers are used freebsd6.2release+squid2.6, primary agent direct and extranet line connection, the user by setting the corresponding network segment IP and
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
-lzo
Persist-key
Persist-tun
Status openvpn-status.log
Verb 3
Then install squid. Here, you only need to use the simple forward proxy function of squid, so yum is installed.
Yum install squid-y
Edit the squid configuration file and edit the following two lines
Http_port 10.8
Article Title: FreeBsd5.4 + pf + squid reverse proxy practical notes. 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.
1. hardware configurationHp netserver 800 P Ⅲ 1000 memory 256 M Inter82559 two NICs2. Partition InformationFilesystem Size Used Avail Capacity Mounted on
isolate data from adsl and reduce mutual interference. each ad is independent of each other. if a sub-Nic is used, the mac address cannot be modified, even if the modification is successful, all the sub-nics and the mac of the primary Eni are the same and cannot meet the requirements of multiple adsl connections at the same time. Therefore, vlan virtual interfaces must be used.
3. the Nic connected to the optical fiber uses a sub-Nic to Mount multiple public ip addresses
4. the linux server use
NobodyCache_effective_group NobodyCoredump_dir/www/sqd/sqd/sqd/var/cacheThird, Parameter modification:The owner of the A,logs,cache file should readNoboby.nobobyb, create a new passwd file in the/www/sqd/sqd/sqd/libexec/directory and add a user account and password to itHtpasswd-c/www/sqd/sqd/sqd/libexec/passwd liangi289Four, before the start of the preparatory work:Generate Cache Directory/www/sqd/sqd/sqd/etc/squid-zThe startup process is displayed
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.