I have seen that the moodle pages are all linked via the IP address of the server they are running from. How can we access an apache server runnig on a private network, running moodle from the internet. I have configured NAT to translate the private server IP address(172.16....) to the Public IP address (212.85....)
when we try to access it from the internet the first page tries to load but then it tries to go to the private IP address (172.16.....) which ofcourse cannot work throught the internet.
I can give the server a direct public IP address but that is a last resort.
I am running NAT on Linux mandrake 9.1
Other website servers seem to work fine through this NAT.