Thursday, February 12, 2015

[CentOS]: How To Install and Configure transparent squid proxy on RHEL and CentOS

[CentOS]: How To Install and Configure transparent squid proxy on RHEL and CentOS 


quid is a web cache and web filtering server which is able to do caching and helps in improving the performance of web access for clients. It can deliver either the static and dynamic content or streaming way. It helps to increase web browsing speed to its end clients. Now we are going to start with the tutorial “How to Install and Configure transparent squid proxy on RHEL and CentOS”.
transparent-squid1
First of all, configure your system as a router
transparent-squid2
transparent-squid3
visible_hostname www.howtoistart.com
transparent-squid4
## Define local network ##
transparent-squid5
## make sure that local network is allowed ##
transparent-squid6
## finally deny everything else ##
transparent-squid7
Now we will start Squid service and make sure it is service running to startup.
transparent-squid8
Note : Squid is using port number 3128 by squid service.
Now Select lan card for trusted and masquerade device.
transparent-squid9
Redirect your request, if your trusted nic card ip is 192.168.0.1
transparent-squid10
DNS config for squid in transparent mode. Now install DNS Server on Redhat/CentOS.
transparent-squid11
Now create a empty file named.conf.
transparent-squid12
Set local DNS in your resolver
transparent-squid13
Most Important Note :
In the client side set DNS and Gateway. If your trusted device ip is 192.168.0.1, So the set client side gateway is 192.168.0.1 and DNS is also 192.168.0.1.

No comments: