====== Steps to test Learnexa when maintenance slide is on ======
Setup a VPN client to test in VPN mode. OpenConnect is an SSL VPN client facilitates connectivity - http://www.infradead.org/openconnect
In Ubuntu 14.04 follow the below steps to setup OpenConnect. For reference - https://www.howtoinstall.co/en/ubuntu/trusty/openconnect
sudo apt-get update
sudo apt-get install openconnect
Then add an host entry as given below
sudo vi /etc/hosts
10.166.152.16 test.learnexa.com
Execute the below command to connect into VPN environment. It will prompt for username & password.
sudo openconnect na1.cloud-vpn.net
Will get an output like:
POST https://na1.cloud-vpn.net/
Attempting to connect to server 168.143.80.196:443
SSL negotiation with na1.cloud-vpn.net
Connected to HTTPS on na1.cloud-vpn.net
Got HTTP response: HTTP/1.0 302 Object Moved
GET https://na1.cloud-vpn.net/
Attempting to connect to server 168.143.80.196:443
SSL negotiation with na1.cloud-vpn.net
Connected to HTTPS on na1.cloud-vpn.net
Got HTTP response: HTTP/1.0 302 Object Moved
GET https://na1.cloud-vpn.net/+webvpn+/index.html
SSL negotiation with na1.cloud-vpn.net
Connected to HTTPS on na1.cloud-vpn.net
Please enter your username and password.
Username:
Password:
POST https://na1.cloud-vpn.net/+webvpn+/index.html
Failed to write to SSL socket: Error in the push function.
SSL negotiation with na1.cloud-vpn.net
Connected to HTTPS on na1.cloud-vpn.net
Got CONNECT response: HTTP/1.1 200 OK
CSTP connected. DPD 30, Keepalive 20
Connected tun0 as 10.163.255.246 + 2607:f480:101:ffff::35, using SSL
Established DTLS connection (using OpenSSL)
Then hit - https://test.learnexa.com/ to test in VPN mode.
To switch to a particular application server, use browser add-on or extension to edit cookie 'SERVERID' value.
For example in Firefox use Firebug add-on. Follow the steps as illustrated below:
{{:cookies-learnexa.png ?600|}}\\
{{:cookie-learnexa1.png ?600|}}\\
{{:cookie3-learnexa.png ?600|}}\\
{{:cookie4-learnexa.png ?600|}}\\