I setup a linux router,
it has nat-gateway and is working perfectly.
Except the port forwarding from the internet to the local network.
I think i did everything ok.
Code: Select all
echo 1 > /proc/sys/net/ipv4/ip/forward
iptables -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 192.168.1.2:8080
it just time out.