netcat

Setting Your Apt Proxy Depending on the Current Network

Dec 4, 2014
linux, debian, ubuntu, apt, proxy, netcat

Before I changed over to using squid3 for my transparent proxy I was using apt-cacher-ng to proxy my debian and kubuntu repositories. The issue I had was that at work there was no apt-cacher-ng proxy, just a transparent squid proxy. Remembering to change the details between home and work became too hard so I went in search of a solution. I really battled to find one, but did eventually come upon this article. ...