So i’ve been trying to setup a cluster that works with guacamole… i have a interesting setup so first let me explain…
I have about a few vlans … each of which have an UPLINK network setup in incus… so lets assume i have the interface on my host called research-labs.
My ovn is setup properly on different vlans that are managed with IP’s (in case someone is wondering)
So i have physical research-labs interface on all the hosts. And i also have UPLINK_research-labs setup in incus on every host .
I have created a incus ovn network with the parent UPLINK_research-labs called bomdas(whose uplink is 4.0.4.2) Ive ran containers on this networks and they work wonderfully well.
So my next task was to use guacamole on bomdas as a test. No problem !
I created a single container and installed guacamole server without any issues. I then used a incus network load-balancer as a way to port forward so that i could reach the apache guacamole gui and it worked , great!
Now im going to be using this environment for a classroom and so i know that apache guacamole is made up of 2 services…
--------------guacamole-client --------------
which is the frontend gui and
--------------guacd--------------
which is the backend for all the connections relating to rdp,ssh,vnc and so on.
I have in the past seperated these two service out so that i had 3 guacd containers and 1 guacamole-client connecting to a haproxy loadbalancer that balanced the load on the guacd containers (just a simple round robin) .
I have created 2 containers in bomdas and one was the frontend guacamole-client and the other was a guacd container… i fed the right information into guacamole-client container and then connected to guacd from setup configs, then i created a load-balancer so that i could port forward and access the guacamole gui… great it works woohoo! (meaning that within the same ovn network guacamole-client can connect to guacd)
Now my final method that i want to achieve is the following…
I want to create 3 guacd containers in the incus network… so for bomdas network i would have.
guacd-1,guacd-2,guacd-3
Since guacd works by having guacamole-client connect to its port on 4822 i created a load-balancer on bomdas (with uplink 4.0.4.2)
And put all guacd containers to port forward 4822 as target_port and listener_port on 4.0.4.2 as the listener address … so now if im outside the incus network i should easily be able to connect to 4.0.4.2 and access port 4822 without issue.
It doesnt work… and id like to understand how can i figure out why it doesnt work ? From the logs i gathered on guacamole-client it doesnt seem to make the connection to guacd, and guacd doesnt see any incoming attempts.
Any help with this would be absolutely wonderful and id greatly appreciate it.
this is a representation of what id like to achieve for this…