{"id":1573,"date":"2012-10-10T11:35:57","date_gmt":"2012-10-10T03:35:57","guid":{"rendered":"http:\/\/rmohan.com\/?p=1573"},"modified":"2012-10-10T12:25:33","modified_gmt":"2012-10-10T04:25:33","slug":"squid-tips","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=1573","title":{"rendered":"SQUID TIPS"},"content":{"rendered":"<p><strong>How to install squid proxy on centos 6<\/strong><\/p>\n<p>Squid is a proxy server for caching and filtering web content . Squid proxy is used by various organisation and internet providers to reduce bandwidth and to increase response time .<\/p>\n<p>Squid proxy service will cache the requested web-content and re-using it for the further request of the same content.<\/p>\n<p>Steps to install and configure a perfect squid proxy server in Linux. This configuration Should work on all rpm based distributions(Redhat,CentOS,Fedora,etc.)<br \/>Linux Proxy server<\/p>\n<p>Step1: Install squid packages first<br \/>[root@server ~#]yum install squid<\/p>\n<p>Step2: Edit the squid\u2019s configuration file \u201csquid.conf\u201d located in \/etc\/squid\/<br \/>[root@server ~#]vi \/etc\/squid\/squid.conf<\/p>\n<p>#In 18th line add your proxy client network(if 192.168.10.1 to 255) and a name for network (here netusers is acl name)<br \/>acl your_network src 192.168.10.0\/24<\/p>\n<p>#In the 51st line, allow internet access to above specified network range<br \/>http_access allow your_network<\/p>\n<p># in the 64th line (remove # if present), and change port number if required<br \/>http_port 3128<\/p>\n<p>#Add the below 3 lines to the bottom of file<br \/>request_header_access X-Forwarded-For deny all<br \/>request_header_access Via deny all<br \/>request_header_access Cache-Control deny all<\/p>\n<p>#Add the below line to bottom\u00a0 add (hide IP address)<br \/>forwarded_for off<\/p>\n<p>#Add below line to bottom(add your visible hostname)<br \/>visible_hostname vjetnamnet<\/p>\n<p>#(now save the squid.conf file)<\/p>\n<p>Step3: start squid daemon<br \/>[root@server ~#]service squid start<\/p>\n<p>Then verify the port 3128 is open<br \/># netstat -tulpn | grep 3128<\/p>\n<p>Configure firewall:<br \/># iptables -A INPUT -i $INTERNET -m state &#8211;state ESTABLISHED,RELATED -j ACCEPT<br \/>\u00a0<br \/># iptables -t nat -A PREROUTING -i $INTERNET -p tcp &#8211;dport 80 -j REDIRECT &#8211;to-port $SQUID_PORT<\/p>\n<p>Step4: In the allowed clients(192.168.10.1 to 192.168.10.255) Configure web browser\u2019s proxy settings to use the proxy server for internet access.<\/p>\n<p>Configuring Squid as Transparent Proxy<\/p>\n<p>squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.<\/p>\n<p>An intercepting proxy (also known as a \u201ctransparent proxy\u201c) combines a proxy server with a gateway. Connections made by client browsers through the gateway are redirected through the proxy without client-side configuration (or often knowledge). So the client never realize and don\u2019t have to configure the client machine to use the proxy, but they are using it.<\/p>\n<p>You can configure squid as transparent proxy.<br \/>[root@server ~]# vi \/etc\/squid\/squid.conf<\/p>\n<p>Squid normally listens to port 3128<br \/>http_port 3128<\/p>\n<p>and replace with<br \/>http_port 3128 intercept<\/p>\n<p>The most important line is:<\/p>\n<p>\u201chttp_port 3128 intercept\u201d : This line means, Squid proxy run as transparent proxy at port 3128. Later you need to edit the iptables to bypass every request\/response connection through this port.<br \/>Note: That setting is for Squid v3.1. For other version like Squid v2.6 or v2.7, \u201cintercept\u201d option is being deprecated, you need to use option \u201ctransparent\u201d instead.<\/p>\n<p>Redirect the all HTTP traffic.<\/p>\n<p>If you would like to redirect the all HTTP traffic through the proxy without needing to set up a proxy manually in all your applications you will need to add some rules<br \/>[root@server ~]# iptables -t nat -A PREROUTING -i $LAN_IN -p tcp &#8211;dport 80 -j DNAT &#8211;to $SQUID_SERVER:$SQUID_PORT<br \/>\u00a0<br \/>[root@server ~]# iptables -t nat -A PREROUTING -i $INTERNET -p tcp &#8211;dport 80 -j REDIRECT &#8211;to-port $SQUID_PORT<\/p>\n<p>Example:<br \/>[root@server ~]# iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp &#8211;dport 80 -j DNAT &#8211;to-destination 192.168.10.1:3128<br \/>\u00a0<br \/>[root@server ~]# iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp &#8211;dport 80 -j REDIRECT &#8211;to-ports 3128<\/p>\n<p>Where eth1,eth0 are the LAN (eth1), WAN (eth0) devices and 192.168.10.1 (squid server IP)\u00a0 is the IP address of your LAN device.<\/p>\n<p>If you wish to monitor the performance of your proxy you can look as some log parser\u2019s (sarg, calamaris, ect.)<\/p>\n<p>How to change Squid server default listening port<\/p>\n<p>Every network services has a particular port numbers. Same way the Squid proxy server will listen on port 3128\/TCP by default. But you can change the listening port by editing the squid.conf file. And you should open the same port in squid servers firewall and in ip packet forwarding devices if required. Below is the way to change Squid listen port number.<br \/>Change Squid port number<br \/>[root@server ~]# vi \/etc\/squid\/squid.conf<\/p>\n<p>Go to 64th line if you are using squid version 3.0 or above.<br \/>Here changed the port from 3128 to 8080 (see below)<br \/>Squid normally listens to port 3128<br \/>http_port 8080<\/p>\n<p>Now save the squid.conf file and restart squid server<br \/>Squid server listen on multiple ports<br \/>Squid server can listen on multiple ports at same time, use the below configuration<br \/>http_port 8080 9090<br \/>Now squid will listen on both 8080 and 9090 ports as well.<br \/>Restart Squid server to apply new configurations<br \/>[root@server ~]# service squid restart<br \/>Stopping squid: &#8230;&#8230;&#8230;&#8230;&#8230;.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [\u00a0 OK\u00a0 ]<br \/>\u00a0<br \/>Starting squid: .\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [\u00a0 OK\u00a0 ]<\/p>\n<p>&nbsp;<\/p>\n<p>How to open a port in squid server<\/p>\n<p>y default the following TCP port numbers are opened in squid proxy server.<br \/>acl Safe_ports port 80\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # http<br \/>acl Safe_ports port 21\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # ftp<br \/>acl Safe_ports port 443\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # https<br \/>acl Safe_ports port 70\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # gopher<br \/>acl Safe_ports port 210\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # wais<br \/>acl Safe_ports port 1025-65535\u00a0 # unregistered ports<br \/>acl Safe_ports port 280\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # http-mgmt<br \/>acl Safe_ports port 488\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # gss-http<br \/>acl Safe_ports port 591\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # filemaker<br \/>acl Safe_ports port 777\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # multiling http<br \/>If a web server listening on custom port 81\/TCP, squid server will not allow to browse to\u00a0 that server due to the port 81\/TCP is not listed as Safe_ports.<br \/>Follow the steps to enable a port in squid server<br \/>[root@server ~]# vi \/etc\/squid\/squid.conf<br \/>acl Safe_ports port 81\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # Add this line with the default port acls<br \/>\u00a0<br \/>http_access allow Safe_ports\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # allow access<br \/>Add the above two lines to squid,conf<br \/>Restart or reload squid server with changes<br \/>[root@server ~]# service squid reload<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 or<br \/>[root@server ~]# service squid restart<\/p>\n<p>How to enable time based access restrictions in squid proxy server<\/p>\n<p>Sometimes you may need to enable a time based access restrictions in your squid server. Squid proxy can do this with \u201ctime\u201d access list(ACL). All you need to create a \u201ctime\u201d ACL with required time and dates from the week and apply with access restriction ACLs.<\/p>\n<p>Creating time ACL<br \/>[root@server ~]# vi \/etc\/squid\/squid.conf<\/p>\n<p>Configure the time based restrictions like below <br \/>acl danny src 192.168.10.66\/32<br \/>acl officehours time MTWHFA 8:00-17:00<br \/>http_access allow danny officehours<br \/>Now save the squid.conf file<br \/>Where\u2026..<br \/>MTWHFA is the days Monday to Saturday in a week<br \/>8:00-17:00 is restrict access in between 8:00 to 17:00 (24hr format)<br \/>Reload\/restart the squid service<br \/>[root@server ~]# service squid reload<br \/>Now the user james with ip address 192.168.10.66 cannot access the internet from 8:00 to 17:00 Monday to Saturday. <br \/>You can use the time ACL with any other ACLs to restrict access within the time range.<\/p>\n<p>How to enable ftp access through squid proxy server<\/p>\n<p>Squid work as a http proxy with default configurations and will not process ftp requests from clients. You can configure squid as ftp proxy by editing the \u201csquid.conf\u201d configuration file in \u201c\/etc\/squid\/\u201d directory.<br \/>Follow the steps below..<br \/>[root@server ~#]vi \/etc\/squid\/squid.conf<br \/>acl SSL_ports port 443 21\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #(Edit add the ftp port 21 to SSL port acl)<br \/>acl Safe_ports port 21\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # ftp<br \/>acl ftp proto FTP\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #(Create a new acl for ftp protocol)<br \/>\u00a0<br \/>http_access allow ftp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #(Allow browsing above created ftp acl)<\/p>\n<p>Save the squid.conf file<\/p>\n<p>Reload squid service with changes<br \/>[root@server ~#]service squid reload<\/p>\n<p>Use Internet explorer or firefox for ftp upload and download<\/p>\n<p>To access a ftp server use this way\u00a0\u00a0\u00a0\u00a0 ftp:\/\/username:password@ipaddress:port\u00a0\u00a0\u00a0\u00a0 (press enter)<\/p>\n<p>Block https sites in squid proxy<\/p>\n<p>here the post will show you how to block complete \u201chttp\u201d and \u201chttps\u201d facebook access in office times in your squid proxy server.<\/p>\n<p>eg: block\u00a0 https:\/\/www.facebook.com, https:\/\/twitter.com, and https:\/\/www.blogger.com. Create an acl with facebook domain (dstdomain) and deny both http and https access.<\/p>\n<p>Step1: Create a new acl with facebook.com twitter.com and blogger.com (Dont forget to add a dot (\u201c.\u201d) before facebook.com)<\/p>\n<p>Add the Configurations to squid.conf<br \/>[root@server ~#]vi \/etc\/squid\/squid.conf<\/p>\n<p>Create an acl for facebook domain\u00a0 (any required sites)<br \/>acl badsites dstdomain .facebook.com .twitter.com .blogger.com<\/p>\n<p>Step2: Deny the above domain to connect via ssl connection (https)<br \/>http_access deny CONNECT badsites<\/p>\n<p>(save the squid.conf configuration file)<br \/>And finaly reload squid service to take effect changes<br \/>[root@server ~#]service squid reload<\/p>\n<p>Tips: The way to include multiple sites in one ACL<\/p>\n<p>How to block flash ads in squid proxy server<\/p>\n<p>Configure your Squid proxy server to block flash ads (advertisements) in websites. So squid server filter flash ads contents.<br \/>Steps to block all flash ads in squid proxy server.<br \/>Edit squid configuration file and add the below configurations to squid.conf file.<br \/>[root@server ~]# vi \/etc\/squid\/squid.conf<br \/>1: Create an acl for ads content type<\/p>\n<p>acl flash_ads rep_mime_type application\/x-shockwave-flash<\/p>\n<p>#2: Deny flash ads by denying the above acl (against any ipaddress acl)<br \/>http_reply_access deny flash_ads<\/p>\n<p>Now Save the squid.conf file<\/p>\n<p>3: Reload squid service to take effect changes<br \/>[root@server ~]# service squid reload<\/p>\n<p>Important: Sometimes clearing the client browser\u2019s cache\/cookie is required.)<\/p>\n<p>Block Downloading File Types Like mp3, exe, zip, etc In Squid<\/p>\n<p>Squid server can block\/deny downloading particular file types like pictures, musics, videos, executable files etc. This file content filtering in squid is based on the file extension types like .exe, .mp3, .avi, .jpeg, .torrent, .zip etc.<\/p>\n<p>Blocking file types in squid. First of all, create an ACL file includes all the file types to block downloading them.<br \/>[root@server ~]# vi \/etc\/squid\/bad_files.acl<\/p>\n<p>\\.[Ee][Xx][Ee]$\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #Block downloading exe executable files<br \/>\\.[Mm][Pp]3$\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #Block mp3 music files<br \/>\\.[Zz][Ii][Pp]$\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #Block ZIP archive files<br \/>\\.[Jj][Pp][Ee][Gg]$\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #Block jpeg picture files<br \/>\\.[Aa][Vv][Ii]$\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #Block avi video files<br \/>\\.[Tt][Oo][Rr][Rr][Ee][Nn][Tt]$\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 #Block torrent files<br \/>(Add the above required file extensions types and save the file)<\/p>\n<p>Then, edit the squid configuration file and add an ACL for above created acl file.<br \/>[root@server ~]# vi \/etc\/squid\/squid.conf<br \/>acl lan src 192.168.10.0\/24\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (specify address range to deny downloading files)<br \/>acl badfiles urlpath_regex &#8220;\/etc\/squid\/bad_files.acl&#8221;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (ACL for blocked file types)<br \/>http_access deny badfiles lan\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (Deny the file types to lan)<\/p>\n<p>(Add the above three lines and save the squid.conf file)<\/p>\n<p>Restart or reload squid server<br \/>[root@server ~]# service squid reload<\/p>\n<p>Verify the file type filtering\/blocking by downloading any files from the Internet<\/p>\n<p>How to block utorrent application and torrent large file downloading in squid<\/p>\n<p>Utorrent application uses all the unregistered posts 1025-65535 with random selection method. So blocking all those port numbers will block the bulk file downloading with utorrent application.<\/p>\n<p>Edit the Squid.conf configuration file<br \/>[root@server ~]# vi \/etc\/squid\/squid.conf<\/p>\n<p>By default all the port numbers from 1025-65535 are configured as \u201cSafe_ports\u201d and allowed for browsing.<br \/>So disable that ACL by adding a \u201c#\u201d infront of the line (see below)<br \/>#acl Safe_ports port 1025-65535\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # unregistered ports<\/p>\n<p>And create a new ACL for the same port range just below the above line (with different acl name, like below)<br \/>acl Denied_ports port 1025-65535<\/p>\n<p>And deny browsing to the websites with denied port numbers (both normal and secure)<br \/>http_access deny Denied_ports<br \/>http_access deny CONNECT Denied_ports<\/p>\n<p># now save the squid.conf file<\/p>\n<p>Reload Squid server with new configuration.<br \/>[root@server ~]# service squid reload<\/p>\n<p>Verify Denying<br \/>Verify denying with squid access.log file<br \/>[root@server ~]# vi \/var\/log\/squid\/access.log<\/p>\n<p>How to block a Web Browser in Squid proxy<\/p>\n<p>Blocking\u00a0 some web browsers is possible in squid proxy server. Squid can block all the requests from web browsers like Internet explorer, Chrome, Firefox, etc.<\/p>\n<p>Create an \u201cacl\u201d with the bad web browser types and finaly deny the access. Add all the below configurations to the Squid server configuration file \u201c\/etc\/squid\/squid.conf\u201d.<br \/>[root@server ~#]vim \/etc\/squid\/squid.conf<\/p>\n<p>#Block Chrome in squid proxy<br \/>acl bad_browser browser Chrome<\/p>\n<p>#Deny the requests from chrome<br \/>http_access deny bad_browser all<br \/>#Block Mozilla Firefox in squid proxy<br \/>acl bad_browser browser Firefox<\/p>\n<p>#Deny the requests from firefox<br \/>http_access deny bad_browser all<br \/>#Block Opera in squid proxy<br \/>acl bad_browser browser Opera<\/p>\n<p>#Deny the requests from chrome<br \/>http_access deny bad_browser all<\/p>\n<p>#Block Internet Explorer in squid proxy<br \/>acl bad_browser browser IE<br \/>#Deny the requests from Internet explorer<br \/>http_access deny bad_browser all<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to install squid proxy on centos 6<\/p>\n<p>Squid is a proxy server for caching and filtering web content . Squid proxy is used by various organisation and internet providers to reduce bandwidth and to increase response time .<\/p>\n<p>Squid proxy service will cache the requested web-content and re-using it for the further request of [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/1573"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1573"}],"version-history":[{"count":6,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/1573\/revisions"}],"predecessor-version":[{"id":1576,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/1573\/revisions\/1576"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}