title: IPtables all traffic forwarded to one specific IP
body: <p>I need to redirect all traffic to one specific ip (in this case a index.html) wIth iptables</p>
  
  <p>let me make it clear:
  I've a router with tomcat7 on it, with an logon page. (index.html) with the following url i can get to the log on page(Index.html) ip/URL: 192.168.137.111:8080</p>
  
  <p>wlan ip:(Access point) 192.168.0.1<br>
  eth0 ip: 192.168.137.1</p>
  
  <p>i've already checked other questions that has been asked, but i could not fix it. I got the following code i'm trying to use. Im not sure if it works.</p>
  
  <blockquote>
    <p>iptables -t nat -A PREROUTING -d 192.168.0.1 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.137.111:8080</p>
  </blockquote>
  
  <p>what am i doing wrong? </p>
  
  <p>Is it possible to get a rule with iptables that redirects / forwards all traffic to the index.html(192.168.137.111:8080)?</p>
  
  <p>Thanks in advance</p>