radbrad
You want a specific answer but there is no answer yet provided by anyone.
I have asked many times and usually feedback stops before definitive answers are given. The Howto only exists because I spent many hours reading the old posts and gathering together the bits & pieces and testing it all out.
If it's a must have requirement on your part then purchase the commercial version from dungog.
Otherwise work out the code and post your results back here to the forums.
It can easily be added to a Howto then & be available for all to use, as you wish it to be.
By default dansguardian works on port 8080.
Do you have your sme server Transparent port set ? ie
db configuration setprop squid TransparentPort 8080
signal-event post-upgrade
signal-event reboot
In IE set to Automatically detect settings
In Firefox set to Auto-detect proxy settings for this network
Both those settings should find the sme Transproxy port automatically (which is 8080 if set as above) and therefore all requests will be subject to dansguardian filtering.
Most less knowledgable users will set the port to Auto detect or in Firefox to Auto detect or Connect direct to internet. In both cases only the Auto detect settings will work and that will find the port 8080 which is what the sme server if offering as transproxy port.
You don't always need to forcibly redirect port 80 or 3128 unless people are able to, and are deliberately, changing their browser setting to a specific port eg 3128, which in that case dansguardian will be bypassed.
Again many less knowledgable users will not even be aware to use port 3128.
It depends on the security model (& settings) you have in place for workstations. If users cannot change browser settings then there is no way they can force usage to a different port other than 8080.
Do any of the following posts achieve what you want ?
post by funkusmunkus (needs modifying for sme7 so he says)
http://forums.contribs.org/index.php?topic=26445.0and this one by pietdejong (although it might need some more work too)
http://forums.contribs.org/index.php?topic=23517.0and perhaps the eaiest & most promising by cheezeweeze
http://forums.contribs.org/index.php?topic=33775.msg144673#msg144673Further to that are these custom template fragments which have not been tested by me, but may give you sufficient clues re how to do it.
They WILL NEED modification, as they call up non existent dbs etc.
I believe they may have come from an earlier dungog release.
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/contribs/dansguardian/templates/masq/If you do develop/discover a specific answer, please post it back here and your method can be added to the Howto & be useful to others.