There is a tick box in the squid configuration page that is marked "Transparent Proxy" and promises to redirect everything automagically for you, it doesn't work for a DG set up in my experience.
The Transparent Proxy box does work …. the issue is that it sends it to squid not DG .... so it bypasses DG but squid proxy is set up that easy