Accessing Open edX from public IP

219 views
Skip to first unread message

Prashant Singh

unread,
Feb 15, 2016, 1:54:00 AM2/15/16
to Open edX operations
Hello everyone, 

Here is brief of our setup:
Host machine: Ubuntu 14.04lts
Open edx: Cypress Full stack installed via this method

Everything is running fine with default address 192.168.33.10

Our server hosting open edX is a part of institution's LAN network. 

Now, we want to access this open edX instance from a static public IP so that other people outside LAN too can access it. 

We would like to know about the recommended way of doing so:

1.) Is it possible to access open edx both from LAN IP and using public IP. Is it a recommended way? I'm asking this because inside lms.env.json file we have set SITE_NAME to instance's URL. Some Xblocks like problem-builder rely on it for CSS path. Will having two IP create css path problem?

2.) Should we configure public & LAN IP only in vagrant file or should we do it inside guest OS?

Thanking you in anticipation.

Prashant Singh

unread,
Mar 10, 2016, 5:16:29 AM3/10/16
to Open edX operations
Hello,

Today our network engineer did following setup:

He assigned a static LAN IP (192.XXX.1.XXX) to the guest OS (/etc/network/interfaces) and bridged it with host machine (virtualbox -> Network -> Adapter 1 -> Attached to: Bridged Adapter). So now open edX is accessible within LAN.

To give outside access, he set another ISP level public IP (14.XXX.XXX.1XX) inside firewall and forwarded request to the static LAN IP (192.XXX.1.XXX) and allowed all ports. But the open edX is still not accessible from outside the LAN.

Please suggest where we are doing wrong? Do we need to assign the ISP level static IP inside the vagrantfile or anywhere else?

Thanks.
Reply all
Reply to author
Forward
0 new messages