Jamie,

This looks interesting, but it is not something I have used before, so I have 
some questions:

1. My server is located in the cloud, so my client is not on the same network. 
Where does this port mapping occur - client or server?
2. How do I configure mmonit on my server?

Any advice welcome!

Thanks

> On 1 May 2019, at 13:50, Jamie Burchell <[email protected]> wrote:
> 
> If you already have SSH access to the server, you could also access the
> web interface over SSH by using port forwarding.
> 
> This is great because the connection is encrypted (there's no need to mess
> around with HTTPS or certificates), there's no need to open any additional
> firewall ports and the web UI remains locked down from the public.
> 
> E.g:
> 
> ssh -L 2812:127.0.0.1:2812 your-server-ip
> 
> Then the web UI is available at 127.0.0.1:2821 in your browser.
> 
> -----Original Message-----
> From: monit-general [mailto:[email protected]]
> On Behalf Of Jan-Henrik Haukeland
> Sent: 01 May 2019 00:45
> To: This is the general mailing list for monit <[email protected]>
> Subject: Re: HTTPS connection to mmonit
> 
> 
>> On 1 May 2019, at 01:14, Jan-Henrik Haukeland <[email protected]>
> wrote:
>> 
>> You must then access mmonit using https://<your-ip-address>/
> 
> PS. Which of course kind of defy using SSL (where a certificate is for a
> domain/host name in DNS), but if you are using a self-signed certificate
> that might not be super important and you can as well use the IP-address
> directly. BTW, I forgot, as you configured M/Monit the URL needs to
> include the port number also,  so the URL will be,
> https://172.31.24.86:8443/ apparently your host running M/Monit has
> IP-address 172.31.24.86
> -- 
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
> 
> -- 
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general


-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to