need iptable help forwarding ip.
I have a eth0 ( outside ip ) and a eth0:1 ( lan ip/192.168.0.x ) I want to take all 8080 traffic from out side and direct it to 192.168.0.21:8080
and figured I may need
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 8080 -j DNAT --to 192.168.0.21:8080
but its not working. What did I do wrong? Do I need to do anything with apache2 as it shows the default it works page on 8080.
iptables -A FORWARD -p tcp -i eth0 -d 192.168.0.21 --dport 8080 -j ACCEPT