From the title, we will only make squid tproxy
(transparent proxy), but there are actually 3 work to be done.
1. Configuration of the firewall / shorewall so
Linux Centos will become a router.
2. Make dhcp server, and
3. Install squid as tproxy ( I use squid version 3.1.23 ).
We will work on gradually, so you can easily fix it
if there is an error.