{"id":3069,"date":"2014-02-21T11:30:29","date_gmt":"2014-02-21T17:30:29","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=3069"},"modified":"2022-12-08T06:32:31","modified_gmt":"2022-12-08T12:32:31","slug":"how-to-install-and-configure-squid-proxy-on-your-centos-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/","title":{"rendered":"How to install and configure Squid proxy on your CentOS VPS."},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignleft size-medium wp-image-3070\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-configure-squid-proxy-on-your-centos-vps-300x225.png\" alt=\"how-to-install-and-configure-squid-proxy-on-your-centos- vps\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-configure-squid-proxy-on-your-centos-vps-300x225.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-configure-squid-proxy-on-your-centos-vps.png 400w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>There are a more reasons for using proxy, but we are going to focus on web content filtering and\/or anonymous surfing. A proxy &#8211; <a title=\"Proxy server\" href=\"http:\/\/en.wikipedia.org\/wiki\/Proxy_server\" target=\"_blank\" rel=\"noopener noreferrer\">proxy server<\/a> actually represents another machine through which internet requests are processed, or simply an intermediary between my machine and the Internet. When using proxy server, my computer sends the requests to the proxy server, the requests are being processed and I am being delivered the content I was looking form.<\/p>\n<p>So, let&#8217;s see few simple steps on how to install Squid, the most popular proxy server out there on your <a title=\"CentOS VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS VPS<\/a>. As for the next part, we will see some configuring options.<\/p>\n<p><!--more--><\/p>\n<p>First, of course, make sure your system is up-to-date:<\/p>\n<p><span style=\"color: #ff0000;\"># yum update -y<\/span><\/p>\n<p>Then we can get straight on to installing squid:<\/p>\n<p><span style=\"color: #ff0000;\"># yum -y install squid<\/span><\/p>\n<p>And enabling it on system startup:<\/p>\n<p><span style=\"color: #ff0000;\"># chkconfig squid on<\/span><\/p>\n<p>Now let&#8217;s create the default configuration:<\/p>\n<p><span style=\"color: #ff0000;\"># vim \/etc\/squid\/squid.conf<\/span><\/p>\n<p><span style=\"color: #008000;\">acl manager proto cache_object<\/span><br \/>\n<span style=\"color: #008000;\">acl localhost src 127.0.0.1\/32 ::1<\/span><br \/>\n<span style=\"color: #008000;\">acl to_localhost dst 127.0.0.0\/8 0.0.0.0\/32 ::1<\/span><\/p>\n<p><span style=\"color: #008000;\"># Example rule allowing access from your local networks.<\/span><br \/>\n<span style=\"color: #008000;\"># Adapt to list your (internal) IP networks from where browsing<\/span><br \/>\n<span style=\"color: #008000;\"># should be allowed<\/span><br \/>\n<span style=\"color: #008000;\">acl localnet src 10.0.0.0\/8\u00a0\u00a0\u00a0\u00a0 # RFC1918 possible internal network<\/span><br \/>\n<span style=\"color: #008000;\">acl localnet src 172.16.0.0\/12\u00a0 # RFC1918 possible internal network<\/span><br \/>\n<span style=\"color: #008000;\">acl localnet src 192.168.0.0\/16 # RFC1918 possible internal network<\/span><br \/>\n<span style=\"color: #008000;\">acl localnet src fc00::\/7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # RFC 4193 local private network range<\/span><br \/>\n<span style=\"color: #008000;\">acl localnet src fe80::\/10\u00a0\u00a0\u00a0\u00a0\u00a0 # RFC 4291 link-local (directly plugged) machines<\/span><\/p>\n<p><span style=\"color: #008000;\">acl SSL_ports port 443<\/span><br \/>\n<span style=\"color: #008000;\">acl Safe_ports port 80\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/span><br \/>\n<span style=\"color: #008000;\">acl Safe_ports port 21\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/span><br \/>\n<span style=\"color: #008000;\">acl Safe_ports port 443\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/span><br \/>\n<span style=\"color: #008000;\">acl Safe_ports port 70\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/span><br \/>\n<span style=\"color: #008000;\">acl Safe_ports port 210\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/span><br \/>\n<span style=\"color: #008000;\">acl Safe_ports port 1025-65535 \u00a0<\/span><br \/>\n<span style=\"color: #008000;\">acl Safe_ports port 280\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/span><br \/>\n<span style=\"color: #008000;\">acl Safe_ports port 488\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/span><br \/>\n<span style=\"color: #008000;\">acl Safe_ports port 591\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/span><br \/>\n<span style=\"color: #008000;\">acl Safe_ports port 777\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<\/span><br \/>\n<span style=\"color: #008000;\">acl CONNECT method CONNECT<\/span><\/p>\n<p><span style=\"color: #008000;\"># Recommended minimum Access Permission configuration:<\/span><br \/>\n<span style=\"color: #008000;\"># Only allow cachemgr access from localhost<\/span><br \/>\n<span style=\"color: #008000;\">http_access allow manager localhost<\/span><br \/>\n<span style=\"color: #008000;\">http_access deny manager<\/span><\/p>\n<p><span style=\"color: #008000;\"># Deny requests to certain unsafe ports<\/span><br \/>\n<span style=\"color: #008000;\">http_access deny !Safe_ports<\/span><\/p>\n<p><span style=\"color: #008000;\"># Deny CONNECT to other than secure SSL ports<\/span><br \/>\n<span style=\"color: #008000;\">http_access deny CONNECT !SSL_ports<\/span><\/p>\n<p><span style=\"color: #008000;\"># We strongly recommend the following be uncommented to protect innocent<\/span><br \/>\n<span style=\"color: #008000;\"># web applications running on the proxy server who think the only<\/span><br \/>\n<span style=\"color: #008000;\"># one who can access services on &#8220;localhost&#8221; is a local user<\/span><br \/>\n<span style=\"color: #008000;\">#http_access deny to_localhost<\/span><\/p>\n<p><span style=\"color: #008000;\">#<\/span><br \/>\n<span style=\"color: #008000;\"># INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS<\/span><br \/>\n<span style=\"color: #008000;\">#<\/span><br \/>\n<span style=\"color: #008000;\"># Example rule allowing access from your local networks.<\/span><br \/>\n<span style=\"color: #008000;\"># Adapt localnet in the ACL section to list your (internal) IP networks<\/span><br \/>\n<span style=\"color: #008000;\"># from where browsing should be allowed<\/span><br \/>\n<span style=\"color: #008000;\">http_access allow localnet<\/span><br \/>\n<span style=\"color: #008000;\">http_access allow localhost<\/span><\/p>\n<p><span style=\"color: #008000;\"># And finally deny all other access to this proxy<\/span><br \/>\n<span style=\"color: #008000;\">http_access deny all<\/span><\/p>\n<p><span style=\"color: #008000;\"># Squid normally listens to port 3128<\/span><br \/>\n<span style=\"color: #008000;\">http_port 3128<\/span><\/p>\n<p><span style=\"color: #008000;\"># We recommend you to use at least the following line.<\/span><br \/>\n<span style=\"color: #008000;\">hierarchy_stoplist cgi-bin ?<\/span><\/p>\n<p><span style=\"color: #008000;\"># Uncomment and adjust the following to add a disk cache directory.<\/span><br \/>\n<span style=\"color: #008000;\">#cache_dir ufs \/var\/spool\/squid 100 16 256<\/span><\/p>\n<p><span style=\"color: #008000;\"># Leave coredumps in the first cache dir<\/span><br \/>\n<span style=\"color: #008000;\">coredump_dir \/var\/spool\/squid<\/span><\/p>\n<p><span style=\"color: #008000;\"># Add any of your own refresh_pattern entries above these.<\/span><br \/>\n<span style=\"color: #008000;\">refresh_pattern ^ftp:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1440\u00a0\u00a0\u00a0 20%\u00a0\u00a0\u00a0\u00a0 10080<\/span><br \/>\n<span style=\"color: #008000;\">refresh_pattern ^gopher:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1440\u00a0\u00a0\u00a0 0%\u00a0\u00a0\u00a0\u00a0\u00a0 1440<\/span><br \/>\n<span style=\"color: #008000;\">refresh_pattern -i (\/cgi-bin\/|\\?) 0\u00a0\u00a0\u00a0\u00a0 0%\u00a0\u00a0\u00a0\u00a0\u00a0 0<\/span><br \/>\n<span style=\"color: #008000;\">refresh_pattern .\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 20%\u00a0\u00a0\u00a0\u00a0 4320<\/span><\/p>\n<p>Add the following anonymous settings lines in your configuration files to use Squid undetected:<\/p>\n<p><span style=\"color: #ff0000;\"># vim \/etc\/squid\/squid.conf<\/span><\/p>\n<p><span style=\"color: #008000;\">via off<\/span><br \/>\n<span style=\"color: #008000;\">forwarded_for off<\/span><\/p>\n<p><span style=\"color: #008000;\">request_header_access Allow allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Authorization allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access WWW-Authenticate allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Proxy-Authorization allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Proxy-Authenticate allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Cache-Control allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Content-Encoding allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Content-Length allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Content-Type allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Date allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Expires allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Host allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access If-Modified-Since allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Last-Modified allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Location allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Pragma allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Accept allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Accept-Charset allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Accept-Encoding allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Accept-Language allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Content-Language allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Mime-Version allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Retry-After allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Title allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Connection allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Proxy-Connection allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access User-Agent allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access Cookie allow all <\/span><br \/>\n<span style=\"color: #008000;\">request_header_access All deny all<\/span><\/p>\n<p>And that&#8217;s it as far as the installation and the initial configuration goes. In our next post we&#8217;ll take a look at more detailed (and also browser) configuration. Thanks for reading!<\/p>\n<p>Of course you don\u2019t have to do any of this if you use one of our\u00a0<a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Squid proxy for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span>\u00a0If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are a more reasons for using proxy, but we are going to focus on web content filtering and\/or anonymous &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install and configure Squid proxy on your CentOS VPS.\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/#more-3069\" aria-label=\"Read more about How to install and configure Squid proxy on your CentOS VPS.\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":3070,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1701,13],"tags":[374,34,177,163,1152,145,18],"class_list":["post-3069","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-networking-and-domains","category-tutorials","tag-anonymous","tag-centos","tag-linux-vps","tag-proxy","tag-rosehosting","tag-squid","tag-vps","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install and configure Squid proxy on your CentOS VPS. | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to install and configure Squid proxy on your CentOS VPS. | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install and configure Squid proxy on your CentOS VPS.\" \/>\n<meta property=\"og:description\" content=\"How to install and configure Squid proxy on your CentOS VPS. | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2014-02-21T17:30:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-08T12:32:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-configure-squid-proxy-on-your-centos-vps.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install and configure Squid proxy on your CentOS VPS.\",\"datePublished\":\"2014-02-21T17:30:29+00:00\",\"dateModified\":\"2022-12-08T12:32:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/\"},\"wordCount\":809,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps.png\",\"keywords\":[\"anonymous\",\"centos\",\"linux vps\",\"proxy\",\"rosehosting\",\"squid\",\"vps\"],\"articleSection\":[\"CentOS\",\"Networking and Domains\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/\",\"name\":\"How to install and configure Squid proxy on your CentOS VPS. | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps.png\",\"datePublished\":\"2014-02-21T17:30:29+00:00\",\"dateModified\":\"2022-12-08T12:32:31+00:00\",\"description\":\"How to install and configure Squid proxy on your CentOS VPS. | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps.png\",\"width\":400,\"height\":300,\"caption\":\"how-to-install-and-configure-squid-proxy-on-your-centos- vps\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install and configure Squid proxy on your CentOS VPS.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to install and configure Squid proxy on your CentOS VPS. | RoseHosting","description":"How to install and configure Squid proxy on your CentOS VPS. | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/","og_locale":"en_US","og_type":"article","og_title":"How to install and configure Squid proxy on your CentOS VPS.","og_description":"How to install and configure Squid proxy on your CentOS VPS. | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2014-02-21T17:30:29+00:00","article_modified_time":"2022-12-08T12:32:31+00:00","og_image":[{"width":400,"height":300,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-configure-squid-proxy-on-your-centos-vps.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install and configure Squid proxy on your CentOS VPS.","datePublished":"2014-02-21T17:30:29+00:00","dateModified":"2022-12-08T12:32:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/"},"wordCount":809,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-configure-squid-proxy-on-your-centos-vps.png","keywords":["anonymous","centos","linux vps","proxy","rosehosting","squid","vps"],"articleSection":["CentOS","Networking and Domains","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/","name":"How to install and configure Squid proxy on your CentOS VPS. | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-configure-squid-proxy-on-your-centos-vps.png","datePublished":"2014-02-21T17:30:29+00:00","dateModified":"2022-12-08T12:32:31+00:00","description":"How to install and configure Squid proxy on your CentOS VPS. | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-configure-squid-proxy-on-your-centos-vps.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-configure-squid-proxy-on-your-centos-vps.png","width":400,"height":300,"caption":"how-to-install-and-configure-squid-proxy-on-your-centos- vps"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-squid-proxy-on-your-centos-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install and configure Squid proxy on your CentOS VPS."}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=3069"}],"version-history":[{"count":2,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3069\/revisions"}],"predecessor-version":[{"id":43824,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3069\/revisions\/43824"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/3070"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=3069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=3069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=3069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}