Add windows server for rdp via browser
Add windows server into Ezeelogin GUI for one-click RDP via the web browser.
On the gateway server, make sure to install nodejs.
Once installed, ensure that the path to the node binary is specified correctly under Settings->General->Miscellaneous->Nodejs Command.
The nodejs command field should have the path to the
node / nodejs binary which usually is /usr/bin/node in the case of Centos7 and /usr/bin/nodejs in the case of Ubuntu 14-04
Ensure that inbound TCP traffic on port 52555 is open as nodejs server listens on this port.
Ensure that outbound TCP traffic on port 3389 is open as RDP listens on this port.
To ensure ssl for the browser tab that opens up for the web rdp, generate a self-signed cert with the following command. Web Shell will work only if the web interface is accessed via HTTPS
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
Or put a valid ca, cert and key in the files: /usr/local/etc/ezlogin/tls_ca.pem, /usr/local/etc/ezlogin/tls_cert.pem & /usr/local/etc/ezlogin/tls_key.pem respectively. You can rename your current .crt / .key file to .pem file.
Also, make sure that the .pem files are readable by the webserver user such as nobody/www-root/apache, etc. An easy way to grant the web user read privileges would be chmod 644 /usr/local/etc/ezlogin/*.pem
Make sure that users has privilege to access ’ Windows RDP Login ’
Click on the windows icon to rdp into the remote machine
Ensure that Network Level Authentication ( NLA ) is disabled on the remote windows machine as shown.
1. You can add the windows-servers by clicking the add button as shown below
2. You need to enable RDP and specify the RDP port as shown below
Pros of browser based RDP
- Easily RDP via browser in one click
- Dont have to remember the administrator passwords
- No RDP client needed
Cons of browser based RDP
- Unable to copy and paste the document to remote desktop.
If you are getting protocol error, after upgrading Node version you just need to add --tls-min-v1.0 to the nodejs command in Settings->General->Miscellaneous>Nodejs Command.