( Content removed - see following post and bugzilla NFR referenced below)
Explanation:
I have duplicated the existing 35transproxy and 90adjustTransProxy to look for, and create rules for, new config variables 'BypassProxyTo' and 'BypassProxyFrom'.
The modifications I have inserted are based on the AllowHosts / DenyHosts code from 90InboundTCP10filter_tcp.
You can list multiple hosts or networks that require proxy bypass separated by commas.
'BypassProxyTo' is expanded into the --destination section of an iptables rule (use this to bypass the proxy server when accessing remote hosts or networks)
'BypassProxyFrom' is expanded into the --source section of an iptables rule (use this to allow specified internal hosts or networks to bypass the proxy server entirely)
It seems to work for me...
Here's a link to the Bugzilla NFR for this feature:
http://bugs.contribs.org/show_bug.cgi?id=2374