There has already been a good discussion about it: http://forum.mikrotik.com/t/redirect-traffic-to-squid-linux/18710/1