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
Squid + iptables for transparent proxy errors-Linux general technology-Linux technology and application information, the following is a detailed description. Environment: linux fedora 8 (linux installed on VMware Server)
Now I have created a proxy server on fedora 8. The Ip address is 192.168.6.244/24.
The following problems occur:
In many applications, you may need to record the real IP address of the user. In this case, you need to obtain the real IP address of the user. In JSP, you can obtain the IP address of the client by: request. getRemoteAddr (), which is effective in most cases. However, the real IP address of the client cannot be obtained through reverse proxy software such as Apache and Squid.
During this time, the IP addre
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
Configuring the Reverse ProxyOpen configuration fileVim/etc/squid/squid.confModify3128 Accel Vhost VportAdd a section below it115.239. 210.27 the 0 originserver name=acache_peer_domain a www.qq.comcache_peer 114.80.143.1580 Originserver name=bcache_peer_domain b www.163.comSee if the configuration file is wrongSquid-kchReloadSquid-kreBrowser viewTurn the forward agent off.Tools-internet Options-Connections-LAN Settings-switch off use a
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
2. Configure Iptables to forward the client's Web request to the Squid proxy port.
Third, the configuration transparent proxy
1, modify the squid.conf configuration file
Http_port 192.168.10.1:3128 Transparent
2. Reload the configuration file
Squid-k Reconfig
3, add iptables rules, the internal HTTP request wit
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
Problem:The following error occurred while using the proxy to access the Web site:========================================The requested URL could not is retrievedWhile trying to retrieve the Url:http://linkhelp.clients.google.com/tbproxy/lh/fixurl?The following error was encountered:Unable to determine IP addresses from host name for linkhelp.clients.google.comThe DNSServer returned:TimeoutThis means:The cache wasn't able to resolve the hostname prese
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
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.