[CentOS] list of websites visited through centos

Tue Oct 16 13:08:27 UTC 2012
Chaitanya Yanamadala <dr.virus.india at gmail.com>

 i have installed a new centos server and i am planning to use this machine
as my gateway and restrict the usage of the certain websites. So i guess
basically i am trying to use this machine as my firewall. So could any one
guide me on this. How to achieve this.