Questions about HAProxy
-
I've recently gotten HAProxy setup and I can get one of my sites to work with the SSL Let's Encrypt certificate I've setup, but I'm having some issues with other sites as well as other ports that I think need to be SSL encrypted on the same server [ESXi].
The other servers that I'm trying to SSL encrypt are some Webmin servers [default port 10000], some other web servers with ports 8443.
I thought I setup the backend/front end properly, as well as a separate DNS entry on the BIND server that is hosting the internal ENS entries. It wasn't immediately obvious from watching some video on getting HAProxy setup on pfSense that I needed to have the DNS entry of the server I wanted to point to resolve to the IP address of the pfSense box. I ended up setting up an alternate hostname for the server I wanted to connect to so that it would work with the web aspect of connecting to this server.
I also setup two different frontend/backend entries pointing to two different servers yet when I use either hostname to connect, both different host names connect to the same server?
As for the ESXi server, I got the SSL cert to work with that system, but I'd also like to try to connect through VMRC to the hosts, but it looks like I also need to SSL encrypt port 902 as well? I tried setting that up with the frontend/backend rules and it totally broke the web access to the ESXi server.
I'm terribly new to all of this so I'm not even sure what might be helpful to try and troubleshoot/clarify things.
Any thoughts or advice would be greatly appreciated!