squid proxy is the great topic for Linux.squid is running port no 3128.this is working as a firewall.you can block a website ,you can distribute internet to perticular ip address ,you can define time sedule through squid proxy.