Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Masquerading.

Masquerading: Difference between revisions

From MoodleDocs
No edit summary
Line 9: Line 9:
* 192.168.0.0 - 192.168.255.255
* 192.168.0.0 - 192.168.255.255


You can not use internal ip address or internal server name if you want to access the server from Internet too.
You can not use internal ip address or internal server name in config.php if you want to access the server from Internet too.


  NOTE: The original text was removed because it encouraged '''very bad practices''' --[[User:Skodak|Skodak]] 12:49, 16 January 2007 (CST)
  NOTE: The original text was removed because it encouraged '''very bad practices''' --[[User:Skodak|Skodak]] 12:49, 16 January 2007 (CST)

Revision as of 18:49, 16 January 2007

Running Moodle Behind A Masquerading Firewall

You may be running Moodle behind a Masquerading Firewall (using Network Address Translation or NAT). In this case your internal Moodle server will most likely be assigned a non-routable (private) IP address in one of the following ranges:

  • 10.0.0.0 - 10.255.255.255
  • 172.16.0.0 - 172.31.255.255
  • 192.168.0.0 - 192.168.255.255

You can not use internal ip address or internal server name in config.php if you want to access the server from Internet too.

NOTE: The original text was removed because it encouraged very bad practices --Petr Škoda (škoďák) 12:49, 16 January 2007 (CST)
TODO: add explanation how to setup DNS in intranet so that the same name points to private address from intranet and public address from Internet. --Petr Škoda (škoďák) 12:49, 16 January 2007 (CST)