I have installed "Moodle-3.9" ( latest version) on my Windows-10 machine which is located in my college. Also I have installed "Jail Server-2.5.3" for "Virtual Programming Lab" on another machine with ubuntu-16.04 OS. Both Moodle server and Jail server is working fine inside college (Local Area Network). Without any problem VPL also working.
With help of college admin, we have assigned public IP address
to windows machine (Moodle running) for accessing Moodle server from
outside LAN. Now we can access Moodle server outside college but not
able to run VPL. It doesn't report any error. We thought, Jail server
also required separate public IP address.
we have assigned another public IP address for Ubuntu machine (Jail
Server Running). Now we can access both moodle server and jail server( with help of this command http://server:PORT/OK) from outside LAN. But still VPL is not working. (i.e unable to run program).
Note: if we assign demo jail server link ( inside jail server list), VPL is working and automatic evaluation is done without issues. To improve the performance of VPL , we planned to go separate machine for JAIL SERVER.
Kindly help me to rectify this issue.