<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ubuntu on Diogo Gomes</title><link>https://diogogomes.com/tags/ubuntu/</link><description>Recent content in Ubuntu on Diogo Gomes</description><generator>Hugo</generator><language>en</language><copyright>{year}</copyright><lastBuildDate>Sun, 29 Jun 2008 17:50:57 +0100</lastBuildDate><atom:link href="https://diogogomes.com/tags/ubuntu/index.xml" rel="self" type="application/rss+xml"/><item><title>Squid transparent proxy in Ubuntu 8.04</title><link>https://diogogomes.com/2008/06/29/squid-transparent-proxy-in-ubuntu-804/</link><pubDate>Sun, 29 Jun 2008 17:50:57 +0100</pubDate><guid>https://diogogomes.com/2008/06/29/squid-transparent-proxy-in-ubuntu-804/</guid><description>&lt;p&gt;&lt;a href="http://www.squid-cache.org/"&gt;Squid&lt;/a&gt; is the defacto proxy system. Either in the lab or at home I use a transparent squid proxy in order to have a global cache system for all my devices (I really hate browser caches that take all you disk space).&lt;/p&gt;
&lt;p&gt;For years now, in order to configure a transparent Squid proxy you had to put in the following lines:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;httpd_accel_host virtual
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;httpd_accel_port &lt;span style="color:#ae81ff"&gt;80&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;httpd_accel_with_proxy on
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;httpd_accel_uses_host_header on
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;plus the complimentary iptables rules in your router:&lt;/p&gt;</description></item></channel></rss>