I am trying to set up a web page on a server with a provate address. I want to nat it to be able to get to it with a public IP address. I want to use the public address in the browser from both public and private computers. I have a DST rule set up so I am getting to it from the outside on the public address, but I cant get to the public address from the inside. I have been looking through the forum for someting similiar, but have not seen anything like this.
This is because the server knows that the address requesting the page is in the local network and tries to send replies directly, not through the router. At least three workarounds posible:
- Configure internal DNS so that local clients would resolve the DNS name of that server to a private IP
- Put SRC-NAT on all requests from your local network to the server so that server would see the requests coming from the router itself, not from the clients
- Configure server not to see any other clients by separating it into another network, different from what local clients are using.