[TriLUG] yum, squid and dansguardiann

Kristopher Kane kristopher.kane at gmail.com
Wed Aug 18 14:33:03 EDT 2010


>> How do I get yum to work through Dansguardian?

yum.conf has a proxy option.  I haven't used it but couldn't you
create an on demand ssh tunnel then forward the yum.conf proxy option
through this?

disable yum update.
make a bash script: Check for existance of SSH tunnel (use ps?): if
not tunnel: SSH tunnel to dansguardian proxy server (assuming you use
keys) -> run yum -y update
place script in cron (if you like 'no look' updates)

-Kris Kane



More information about the TriLUG mailing list