Skip to content
 
 

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

squid-deb-proxy Docker container

squid-deb-proxy provides an easy wrapper over squid to enable package proxy caching for your organisation/LAN. Readme

This Docker container image allows most (if not all) non-routeable LAN subnets and caches from sources found under extra-sources.acl

You can also mount a volume to the source address acl directories to add your own sources and ip ranges.

Usage:

  • On Server / Host:
docker run --name proxy --rm -v /path/to/cachedir:/var/cache/squid-deb-proxy  -v /path/to/allowed-networks:/etc/squid-deb-proxy/allowed-networks-src.acl.d /
 -v /path/to/cached-sources:/etc/squid-deb-proxy/mirror-dstdomain.acl.d -p PORT:8000 jack60612/squid-deb-proxy 
  • On a node
apt install squid-deb-proxy-client
echo 'Acquire::http::Proxy "http://HOST_IP:PORT";' > /etc/apt/apt.conf.d/30autoproxy

or

apt install auto-apt-proxy

About

Docker image of a generic squid-deb-proxy server - Use in your local organisation / LAN

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages