Openvpn & Guacamole Combo Help
-
Hello,
I am looking for some help with setting up OpenVPN and Guacamole to work in tandem. I may be going about this the wrong way so please feel free to point me to docs if there are any on this topic, I didn't find any.
I have a use case where I have multiple client sites that I'd like to access remote hosts on via Guacamole but I want those connections tunneled through OpenVPN. I've been doing this the old school way but thought I'd give cloudron a try. I have both apps deployed however, I can't make the necessary modifications to the Guacamole server to get the VPN tunnel pinned up for Guac to communicate with the remote hosts.
Is this even possible given the write limitations on the apps? If it is possible any help or references would be much appreciated.
-
@machevalia So, you want guacamole to initiate the VPN connection and then connect to the server? Does guacamole have built-in VPN support? I couldn't find it, so maybe you mean the option below.
Or alternately, maybe you keep the VPN connection always running inside guacamole container (all the time?) and then guacamole is able to connect?
-
@girish The second. The way I currently do it is to have Guacamole and OpenVPN installed on the same server, remote hosts phone-home and then I can connect to them with Guacamole. I was trying to replicate that but in an easier to manage fashion.
-
@machevalia yeah, this is not currently possible easily i.e have a vpn connection at a container level. Maybe you can set this up on the server level though ? But this will be complicated since the full server is sending traffic via OpenVPN (without careful routing rules)