<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://systems.nic.uoregon.edu/internal-wiki/index.php?action=history&amp;feed=atom&amp;title=Procedure%3ASetting_up_update_proxy</id>
	<title>Procedure:Setting up update proxy - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://systems.nic.uoregon.edu/internal-wiki/index.php?action=history&amp;feed=atom&amp;title=Procedure%3ASetting_up_update_proxy"/>
	<link rel="alternate" type="text/html" href="https://systems.nic.uoregon.edu/internal-wiki/index.php?title=Procedure:Setting_up_update_proxy&amp;action=history"/>
	<updated>2026-08-19T11:26:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://systems.nic.uoregon.edu/internal-wiki/index.php?title=Procedure:Setting_up_update_proxy&amp;diff=3024&amp;oldid=prev</id>
		<title>Nic-systems: Created page with &quot;== Client setup ==  The client setup for use of a Squid proxy is remarkably simple. YUM and APT natively support use of it through a single modified configuration line.  Curre...&quot;</title>
		<link rel="alternate" type="text/html" href="https://systems.nic.uoregon.edu/internal-wiki/index.php?title=Procedure:Setting_up_update_proxy&amp;diff=3024&amp;oldid=prev"/>
		<updated>2020-02-04T02:09:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Client setup ==  The client setup for use of a Squid proxy is remarkably simple. YUM and APT natively support use of it through a single modified configuration line.  Curre...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Client setup ==&lt;br /&gt;
&lt;br /&gt;
The client setup for use of a Squid proxy is remarkably simple. YUM and APT natively support use of it through a single modified configuration line.&lt;br /&gt;
&lt;br /&gt;
Current, Cerberus is configured to provide local proxying services to its 10.0.0.0/8 network and to 128.223.202.0/24 (i.e. the PRL).&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16 ===&lt;br /&gt;
Add to /etc/apt/apt.conf.d/01-vendor-ubuntu (or presumably, whatever file here),&lt;br /&gt;
&lt;br /&gt;
    Acquire::http::Proxy &amp;quot;http://hostname:3128/&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
=== CentOS/RedHat ===&lt;br /&gt;
&lt;br /&gt;
/etc/yum.conf:&lt;br /&gt;
    proxy=http://10.0.0.1:3128/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Server setup ==&lt;br /&gt;
&lt;br /&gt;
After installing SQUID 3 (yum install squid), /etc/squid/squid.conf see Cerberus&lt;br /&gt;
&lt;br /&gt;
Notable lines:&lt;br /&gt;
&lt;br /&gt;
    refresh_pattern ^ftp:           1440    20%     10080&lt;br /&gt;
    refresh_pattern ^gopher:        1440    0%      1440&lt;br /&gt;
    refresh_pattern -i (/cgi-bin/|\?) 0     0%      0&lt;br /&gt;
    refresh_pattern (Release|Packages(.gz)*)$      0       20%     2880&lt;br /&gt;
    refresh_pattern (Release|Packages(.bz2)*)$      0       20%     2880&lt;br /&gt;
    refresh_pattern .               0       20%     4320&lt;br /&gt;
    refresh_all_ims on&lt;br /&gt;
&lt;br /&gt;
- Need to proxy both gz and bz2, different distros use different ones&lt;br /&gt;
- make certain that Squid ACLs deny access to anything other than our network!&lt;/div&gt;</summary>
		<author><name>Nic-systems</name></author>
	</entry>
</feed>