You need to use shorewall, which in my experience is a highly capable and flexible firewall as well as Squid proxy to use this solution.
Please fill in the following fields
* - Required
Your Name: *
Your E-Mail: *
Your Remarks:
Friend's Name: *
Friend's E-Mail: *