From Linux Magazine: How to implement transparent proxying using squid.
http://www.linux-mag.com/content/view/1957/2303/