I got iptables on my router. In my LAN I got a webserver. I need to forward requests to it, but cant figure it out.... anyone can help me??
iptables -t nat -A PREROUTING -p tcp --source-port 80 -s 62.240.165.131 -j DNAT --to-destination 192.168.1.10:80
iptables -A FORWARD -i eth0 -o eth1 -p tcp --dport 80 -d 192.168.1.10 -j ACCEPT
what am I doing wrong?