echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4
To limit download speed to 250kBytes/s:
Acquire { Queue-mode "access"; http { Dl-Limit "250"; }; };
Acquire::http { Proxy "http://192.168.0.231:3142"; };
Acquire::https::proxy "DIRECT";
or Replace all mirror hostnames with cachinghost/hostname in sources.list, so
deb http://ftp.uni-kl.de/debian etch main
should now become:
deb http://192.168.0.17:3142/ftp.uni-kl.de/debian etch main