Since I have a fair amount of package manipulation to do, first I'm going to install Synaptic so I can use its GUI to see what's already installed and what's available. This is pretty straightforward - apt-get install synaptic does the job. And since I logged into the DreamPlug from my MacBook Air using ssh -X root@
Next up, install the HTTP proxy. I'm going to use Squid 2.7, though 3.0 is also available. We also need apache2-utils to get the htpasswd program.
Now cd to /etc/squid and run htpasswd -c passwd
Now edit squid.conf and add these lines:
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
acl auth_user proxy_auth REQUIRED
acl localnet src 192.168.8.0/24
http_access allow auth_user
http_access allow localnet
cache_dir null /tmp
cache deny all
And it works!
No comments:
Post a Comment