Apt-cacher version 1.6.7ubuntu4: Daemon mode

Usage: edit your /etc/apt/sources.list so all your HTTP sources are prepended with the address of your apt-cacher machine and the port, like this:
deb http://example.debian.org/debian unstable main contrib non-free
becomes
deb http://aptcache:3142/example.debian.org/debian unstable main contrib non-free

Configuration: /etc/apt-cacher/apt-cacher.conf

Directive Value
admin_email ubuntu@mountbatten.net
allowed_hosts *
allowed_hosts_6 fec0::/16
cache_dir /var/cache/apt-cacher
clean_cache 1
curl_idle_timeout 120
daemon_addr 41.191.79.238
daemon_port 3142
debug 0
denied_hosts 0
denied_hosts_6 0
expire_hours 0
fetch_timeout 300
fork 1
generate_reports 1
group www-data
http_proxy
http_proxy_auth
index_files_regexp (?:Index|Packages\.gz|Packages\.bz2|Release|Release\.gpg|Sources\.gz|Sources\.bz2|Contents-.+\.gz|pkglist.*\.bz2|release|release\..*|srclist.*\.bz2|Translation-.+\.bz2|[[:alpha:]]*\.tar\.gz\.gpg$|ReleaseAnnouncement|meta-release-.*)$
libcurl_socket /var/cache/apt-cacher/libcurl.socket
limit 0
logdir /var/log/apt-cacher
offline_mode 0
package_files_regexp (?:\.deb|\.rpm|\.dsc|\.tar\.gz|\.diff\.gz|\.udeb|index\.db-.+\.gz|\.jigdo|\.template)$
pidfile /var/run/apt-cacher.pid
retry 3
use_proxy 0
use_proxy_auth 0
user www-data

License

Apt-cacher is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Apt-cacher is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

A copy of the GNU General Public License is available as /usr/share/common-licenses/GPL in the Debian GNU/Linux distribution or on the World Wide Web at http://www.gnu.org/copyleft/gpl.html. You can also obtain it by writing to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.