title: Iptables: Redirect to port 8080 and ACCEPT only one IP address
body: <p>Background Info: I have rooted an android phone and installed droidwall to get access to iptables.  The kernel version is 2.6.35.7-perf.  </p>
  
  <p>Objective: Test the efficiency of a proxy (on port 8080) from a comparison of the traffic flow with and without the proxy.</p>
  
  <p>I am able to get a test without going through the proxy with the rules from <a href="https://serverfault.com/questions/218707/iptables-rules-to-allow-http-traffic-to-one-domain-only">here</a></p>
  
  <p>Method: I have creating a test website on a single IP address. I am using an application that monitors how many packets/bytes have been transmitted and recieved by the phone. </p>
  
  <p>Problem: Due to unknown background traffic, unwanted packets are being sent and recieved.</p>
  
  <p>Solution: Use iptables to only allow a connection to one website so I can properly monitor the traffic.</p>
  
  <p>How would I go about this?</p>