Routing iKVM/VNC traffic over HAProxy plugin in Opnsense

Started by Inxsible, February 03, 2022, 02:38:05 AM

Previous topic - Next topic
Hi all,

I have the haproxy plugin installed on Opnsense and it is used for SSL-offloading. I also have 2 Supermicro boards with IPMI that I proxy via haproxy. Everything works EXCEPT iKVM. Both Java based and HTML5 based. Each time I use the proxied address, the iKVM fails with connection errors. HTML5 based gives "Server disconnected (code 1006)" and the Java KVM fails with "Connect failed".

Now if I use the IP address of the IPMI BMC with either HTTP or HTTPS, the iKVM works. That would mean that the iKVM traffic is somehow lost via the haproxy. From the IPMI BMC documentation (see page 155) it seems that Supermicro uses port 5900 for the KVM traffic. How would I set up the Rules & Conditions so that once I connect to the IPMI using the proxied address the iKVM would work as well?

Has anyone done this before maybe for Dell iDRAC or HP iLo, if not for Supermicro?

Thanks,

i have this problem too... still wondering how to overcome this.

According to the document, the connection is TCP for all but one type. In haproxy when terminating ssl the connection type is http/https. So my guess is that it needs a tcp frontend-backend setup.