Using iptables as a web proxy server

I have a client on one side of the firewall… i have web server on the other side of the firewall. how do I set up the firewall using iptables as a web proxy server from the client to the server? as I was researching this I was coming across the chains PREROUTING and POSTROUTING but wasnt sure if that was it or how to formulate the command structure…