1. Check the necessary RPM
#rpm –q squid
if it's not installed first install it
#yum install squid
2. Set the default gateway and the DNS on the proxy server, so it has a direct connection as an internet.
#system-config-network-tui
3. Give the information about your local network on the proxy server.
#nano /etc/squid/squid.conf
Press CTRL + W
Search – our_networks
4. Uncomment this lines
#acl our_networks src 192.168.1.0/24 192.168.2.0/24 //Remove # mark
#http_access allow our_networks //Remove # mark
5. Save (CTRL + O) and Exit (CTRL + X) file
6. Start the proxy service
#service squid start
#chkconfig squid on
Settings up proxy clients
The proxy client is an application that required internet through the proxy server
EX – Internet Explorer, Mozilla Firefox
Fire Fox
Edit --> Preferences --> Advanced --> Network --> Settings --> manually proxy configuration
http proxy : 192.168.2.101 port : 3128 // proxy server IP and port number
Now clients have to access internet through proxy………
Controlling web access through proxy
1. Open the following file
#nano /ect/squid/squid.conf
Press CTRL + W
Search – # http_access deny all
Put all the rules that you want to control web access through proxy under the above comment. All the block rules must come before the allow rules
• To block unwanted website
acl blockweb dstdomain .facebook.com .yahoo.com .google.com
http_access deny blockweb
• To block unwanted file download
acl blockfile urlpath_regex –i exe$ mp3$ avi$ rar$
http_access deny blockfile
• To allow POP3/ SMTP to access mail through proxy server
acl allowmail proto POP3 SMTP
http_access allow allowmail
2. Save (CTRL + O) and exit (CTRL +X) the file
3. Reload squid service
#service squid reload
---------------------------------------------------------
List of acl tags and examples
http://wiki.squid-cache.org
---------------------------------------------------------
Importent one ...Keep it up
ReplyDeleteConfiguring Squid Proxy Server >>>>> Download Now
Delete>>>>> Download Full
Configuring Squid Proxy Server >>>>> Download LINK
>>>>> Download Now
Configuring Squid Proxy Server >>>>> Download Full
>>>>> Download LINK jL
As a person who works for Dell I think your article on server application programming is quite impressive. I think server applications can be created by using various programing languages which are used in IT.
ReplyDeletenice
ReplyDeleteYour this blog is very informative and interesting. Keep doing this type of great work.
ReplyDeleteMp3skull UK proxy
The information on this blog is very useful and very interesting. If someone needs to know about the just click
ReplyDeleteMp3skull UK proxy
Your detailed blog is very good. Keep doing this work.
ReplyDeleteTorrentz UK proxy
Your this information blog is very informative thanks for share this blog.
ReplyDeleteMp3skull UK proxy
This article is very informative and cool. Thanks for share this beautiful article.
ReplyDeleteaccess Bomb-mp3 in UK
Thank You :)
ReplyDeleteUnblock YouTube | Unblock Free Proxy | Open Blocked Sites
thank for post
ReplyDeleteweb proxy
thank you so much it's very nice
ReplyDeleteOURproxy
Thanks for Sharing This Blog.It is very so much valuable content.
ReplyDeleteDevOps Training
DevOps Online Training
Configuring Squid Proxy Server >>>>> Download Now
ReplyDelete>>>>> Download Full
Configuring Squid Proxy Server >>>>> Download LINK
>>>>> Download Now
Configuring Squid Proxy Server >>>>> Download Full
>>>>> Download LINK HD