My router (192.168.0.1) has a public IP address (let's say 10.0.0.1) and i have a webserver (192.168.0.10) inside my lan i want to be accessed from outside.
from ouside access, i just wrote a dst nat rules that works.That's is the result :
chain=dstnat action=dst-nat to-addresses=192.168.1.10 to-ports=80 protocol=tcp dst-address=10.0.0.1 dst-port=80
My problem is that one :
from inside my lan, I need to access that webserver by its public ip address (not its private .. i can't explain why but that is necessary for my webserver apps to work well).
From Google I don't find something that can helps me.
Thanks