How to set up secure access to Web interface?

How can I set up secure (HTTPS) Web interface to IPHost Network Monitor reports?

Q: I need to set up HTTPS access to Web interface to monitoring data provided by IPHost Network Monitor. How can I do that?

A: If you use 4.0.9306 or newer release of IPHost Ntework Monitor, then you can configure HTTP(S) access to the Web-interface on Settings -> Web Interface page. Check Secure checkbox and set the port the Web interface should use, if necessary. You can uncheck Insecure checkbox if you want Web interface to work via HTTPS only. If both protocols are checked the Web interface will be available via both HTTP and HTTPS protocols on the specified ports. Click Apply button to apply the changes. Click OK button to close Settings page.

Web interface settings


A: If you use pre-4.0.9306 release of IPHost Ntework Monitor, then this setup may be somewhat tricky. First, please locate IPHost Network Monitor and its internal Web server configuration files:

IPHost Network Monitor configuration file:
“C:\ProgramData\IPHost Network Monitor\nms.ini”
if you are using Windows Vista or later Windows versions, or
“C:\Documents and Settings\All Users\Application Data\IPHost Network Monitor\nms.ini”
if you use Windows 2003 or XP.

IPHost Network Monitor internal Web server configuration file:
“C:\Program Files\IPHost Network Monitor\conf\httpd.conf”
(replace corresponding path with “Program Files (x86)” if necessary).

You would also need a mod_rewrite shared library to perform this setup; please contact us about that first.

Prior to making any changes, create backup copies of the two files! Otherwise, you risk to render IPHost Network Monitor unusable if you make a mistake. Please follow these steps as soon as you have mod_rewrite.so file from us:

1. Stop monitoring service and close GUI client of IPHost Network Monitor.

2. In httpd.conf file, uncomment the following lines:

AddModule mod_ssl.c
LoadModule ssl_module modules/mod_ssl.so

3. Important: perform this section’s steps if you need access to Web interface by secure address only.
Uncomment the lines

LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c

to enable mod_rewrite. Make sure you’ve placed the mod_rewrite.so file into

“C:\Program Files\IPHost Network Monitor\modules\”

directory.

Place the following lines

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://<hostname>/nms/dashboard.html [L]

under
<Location /nms>
line, and

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://<hostname>/nms_mobile/dashboard.html [L]

under
<Location /nms_mobile>
line.

Note: replace <hostname> with hostname and/or IP address used in URL addresses of Web interface.

4. Start monitoring service and GUI client. Click on “Web Interface” menu button to make sure it works as expected.

Related topics

Can I access IPHost installation remotely?