How to secure communication of roaming users using Secure Gateway Server?
This document will explain you the steps involved in securing the communication of roaming users using Secure Gateway Server component. Secure Gateway server can be used when roaming agents (on the roaming users' devices and desktops) access the server through internet. It prevents the exposure of Patch Manager Plus Server directly to the internet by serving as an intermediate between the Patch Manager Plus server and roaming agents. This ensures that the Patch Manager Plus Server is secure from risks and threats of vulnerable attacks.
How Secure Gateway Server works?
Patch Manager Plus Secure Gateway server is a component that will be exposed to the internet. This Secure Gateway server acts as an intermediate between the managed roaming agents and the Patch Manager Plus server. All communications from the roaming agents will be navigated through the Secure Gateway server. When the agent tries to contact the Patch Manager Plus server, Secure Gateway server receives all the communications and redirects to the Patch Manager Plus Server.
Note: Map your Secure Gateway server and Patch Manager Plus server IP address to common FQDN in your DNS to minimize bandwidth consumption. For example, if your FQDN is "product.server.com", map this to both your Secure Gateway server and Patch Manager Plus server IP address.
Hardware requirements for Secure Gateway Server
The hardware requirements for Secure Gateway Server include the following :
Processor : Intel Core i5(4 core/8 thread) 2.3 GHz. 6 MB cache
RAM size : 4 GB
Hard disk space: 5 GB
To introduce Secure Gateway server based communication to Patch Manager Plus, follow the steps given below:
- Modify Patch Manager Plus Settings
- Install and configure Secure Gateway server
- Copy the certificates
- Infrastructure recommendations
Modify Patch Manager Plus Settings
- Enter the Secure Gateway server's IP address instead of Patch Manager Plus server IP address under Patch Manager Plus server details while adding remote office. This is to ensure the WAN agents and DS communication to Secure Gateway server.
- Enable secured communication(HTTPS) under DS/WAN agent to Patch Manager Plus server communication.
- Configure the NAT Settings using the Secure Gateway's public FQDN/IP address.
- On the Patch Manager Plus Server Console, click on the Admin tab -> Server Settings -> NAT Settings.
- Add the FQDN of the Secure Gateway server against the Public FQDN under NAT Device as shown below.
Install and configure the Secure Gateway server
- Download and install the Secure Gateway server.
- Enter the following details under Setting up the Secure Gateway server window, which will open after the installation process
- Patch Manager Plus (PMP) Server Name: Specify the FQDN/DNS/IP address of the Patch Manager Plus server
- PMP Http Port: Specify the port number that the Secure Gateway server uses to contact the Patch Manager Plus server (eg: 6020)
- PMP Https Port: Specify the port number that the roaming users use to contact the Patch Manager Plus server (eg: 6363 - it is recommended to use the same port 6363(HTTPS) for Patch Manager Plus Server in secured mode)
- PMP Notification Server port: 6027 (to perform on-demand operations), this will be pre-filled automatically
Copy the certificates
If you are using a self signed certificate, follow the steps given below:
- Copy the server.crt and server.key files located in Patch Manager Plus Server under ManageEngine\PatchManagerPlus_Server\apache\conf directory, to the location where the Secure Gateway server is installed - (Installation-Directory)\nginx\conf
If you are using a third party certificate, follow the steps given below:
- Rename the third party certificate as server.crt
- Rename the private key as server.key
- If you are using an intermediate certificate, modify the file name as intermediate.crt
- Copy the server.crt, server.key and intermediate.crt files to the location where the Secure Gateway server is installed - (Installation-Directory)\nginx\conf\
- Navigate to (Installation-Directory)\conf\websetting.conf file and add the line: intermediate.certificate=intermediate.crt
After copying the certificates, click install to complete the installation process.
Ensure that you follow the steps given below
- Configure the Secure Gateway server in such a way, that it should be reachable via public IP/FQDN address configured in NAT settings. You can also configure the Edge Device/Router in such a way that all the request that are sent to the Public IP/FQDN address gets redirected to the Patch Manager Plus Secure Gateway Server.
- It is mandatory to use HTTPS communication
- You will have to ensure that the following port is open on the firewall for the WAN agents to communicate the Patch Manager Plus Secure Gateway Server.
||For communication between the WAN agent/Distribution Server and the Patch Manager Plus server using Patch Manager Plus Secure Gateway Server.
||Inbound to Server
||To perform on-demand operations
||Inbound to Server
You have now secured communication between Patch Manager Plus server, WAN agents and roaming users.