How to use web portal proxy in ezeelogin ?
How to enable web portal with the " use proxy " feature in Ezeelogin?
This feature enables the users to use the Ezeelogin gateway server itself as the proxy server while accessing the web portal.
Install nodejs using npm and n module
On Centos 7
On Ubuntu 16/18 and Debian 10
Install n, Node’s version manager:
If you are not using SSL, you need to set the repo to HTTP by running :
Install node by running :
To install the latest version:
[email protected]:~ n --insecure latest
[[email protected] /]# yum -y install pango.x86_64 libXcomposite.x86_64 libXcursor.x86_64 libXdamage.x86_64 libXext.x86_64 libXi.x86_64 libXtst.x86_64 cups-libs.x86_64 libXScrnSaver.x86_64 libXrandr.x86_64 GConf2.x86_64 alsa-lib.x86_64 atk.x86_64 gtk3.x86_64 ipa-gothic-fonts xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-utils xorg-x11-fonts-cyrillic xorg-x11-fonts-Type1 xorg-x11-fonts-misc
Once installed, ensure that the path to the node binary is specified correctly under Settings->General->Miscellaneous->Nodejs Command. The Web SSH Port variable is configurable. Ensure that the port entered here is open for inbound traffic as well.
The NodeJS Command field should have the path to the node or nodejs binary which usually is /usr/bin/node in the case of Centos7 and /usr/bin/nodejs in the case of Ubuntu 14-04
Note: Ensure that the node version is 12 and above. Also, make sure the kernel version is 4 and above in the gateway server
To ensure SSL for the browser tab that opens up the web portal, generate a self-signed cert with the following command on the jump server/gateway server.
Note: Append DEBUG=* at the beginning of the command which you've got from the application logs.