How to use ezproxy server 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. 

1. Install nodejs

 In CentOS 7 

[root@cen7 /]#  curl -sL |bash -

[root@cen7 /]#  yum install -y nodejs

[root@cen7 /]#  node -v

In centos 8

[root@cen8 /]#  curl -sL |bash -

[root@cen8 /]#  yum install -y nodejs

[root@cen8 /]# node -v


  In Ubuntu 16.1 

root@ubu16-04:/# curl -sL  |bash -

root@ubu16-04:/#  apt-get install nodejs

root@ubu16:~# node -v


In Ubuntu 18
 Install the following dependency modules in the gateway server
In  centos

[root@centos /]#   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

In Ubuntu


root@ubuntu:/#   sudo apt-get install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget


 Once installed, ensure that the path to the node binary is specified correctly under Settings->Generalsettings->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 8 and above. Also, make sure the kernel version is 4 and above in the gateway server 

2. Make sure to enable 2factor authentication and install the SSL as outlined below for the webshell icon to be visible.

         To ensure ssl for the browser tab that opens up the web portal, generate a self-signed cert with the following command on the jumpserver/gateway server.


root@jumpserver:~# openssl req -new -days 365 -x509 -nodes -newkey rsa:2048 -out /usr/local/etc/ezlogin/tls_cert.pem -keyout /usr/local/etc/ezlogin/tls_key.pem 

3. Add web portal and enable the " use proxy"  feature as follows
 4. Click on the arrow button to load the Web Portal with ezproxy enabled

5 (1)
Article Rating (1 Votes)
Rate this article
    Attached Files
    There are no attachments for this article.