Hello,
I try to access my webserver in lan from internet. I try to forwarding internet 81 port from my server to my lan pc port 80, so in that way i could access my lan webserver from internet in this way: http://my_server_ip:81/ I have debian installed in my server and try to config iptables in this way:
eth0 - internet eth1 - lan
iptables -t nat -A PREROUTING -i eth0 -p tcp --sport 81 j DNAT
--to-destination 192.168.1.2:80
i try some other configuraion witch i found by google, but no one worked.
Could you help me to solve this problem?