execute script on “guacamole server” before/after connecting ?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

execute script on “guacamole server” before/after connecting ?

Jonathan Haché-Deschênes

Is there a way to execute script on “guacamole server” before/after connecting a specific RDP, VNC, TELNET, SSH connexion.

 

We want to be able to execute script before connecting to session.

-          Start connexion (RDP, VPN, TELNET, SSH)

We want to be able to execute script when closing session.

 

 

 

cid:GIP.jpg@01CB24D2.6FB31310


1240 Boul. St-Joseph, Drummondville, Qc  Canada,   J2C 2E1

Tel. : 819-478-0994    Fax. : 819-478-7619    http://www.infoplus.ca

 

Solutions informatiques                                   Notre savoir-faire au service

Communications unifiées                                de vos affaires !

 

P Avant d'imprimer, pensez à l'environnement

Cet envoi peut contenir des renseignements confidentiels. Il est à l'usage exclusif de la personne identifiée comme destinataire.  Si vous prenez connaissance de la présente communication sans être le destinataire, vous êtes par la présente avisée que toute diffusion, distribution ou production de la présente communication est strictement interdite. Le cas échéant, veuillez nous aviser immédiatement.

 

Reply | Threaded
Open this post in threaded view
|

Re: execute script on “guacamole server” before/after connecting ?

vnick


2017-10-12 13:19 GMT-04:00 Jonathan Haché-Deschênes <[hidden email]>:

Is there a way to execute script on “guacamole server” before/after connecting a specific RDP, VNC, TELNET, SSH connexion.

 

We want to be able to execute script before connecting to session.

-          Start connexion (RDP, VPN, TELNET, SSH)

We want to be able to execute script when closing session.

 


Could you provide a little more detail of what you're trying to do?  What is it you want to do before and after the connection - what is the script going to do?

I don't think there's a way to do this currently, but it would help if you could provide a little more information.

-Nick
Reply | Threaded
Open this post in threaded view
|

RE: execute script on “guacamole server” before/after connecting ?

Jonathan Haché-Deschênes

It could be a lot of thing. In our case we would like to start a openvpn connexion before connecting & close vpn when session close.

 

 

cid:GIP.jpg@01CB24D2.6FB31310


1240 Boul. St-Joseph, Drummondville, Qc  Canada,   J2C 2E1

Tel. : 819-478-0994    Fax. : 819-478-7619    http://www.infoplus.ca

 

Solutions informatiques                                   Notre savoir-faire au service

Communications unifiées                                de vos affaires !

 

P Avant d'imprimer, pensez à l'environnement

Cet envoi peut contenir des renseignements confidentiels. Il est à l'usage exclusif de la personne identifiée comme destinataire.  Si vous prenez connaissance de la présente communication sans être le destinataire, vous êtes par la présente avisée que toute diffusion, distribution ou production de la présente communication est strictement interdite. Le cas échéant, veuillez nous aviser immédiatement.

 

De : Nick Couchman [mailto:[hidden email]]
Envoyé : 12 octobre 2017 13:53
À : [hidden email]
Objet : Re: execute script on “guacamole server” before/after connecting ?

 

 

 

2017-10-12 13:19 GMT-04:00 Jonathan Haché-Deschênes <[hidden email]>:

Is there a way to execute script on “guacamole server” before/after connecting a specific RDP, VNC, TELNET, SSH connexion.

 

We want to be able to execute script before connecting to session.

-          Start connexion (RDP, VPN, TELNET, SSH)

We want to be able to execute script when closing session.

 

 

Could you provide a little more detail of what you're trying to do?  What is it you want to do before and after the connection - what is the script going to do?

 

I don't think there's a way to do this currently, but it would help if you could provide a little more information.

 

-Nick

Reply | Threaded
Open this post in threaded view
|

Re: execute script on “guacamole server” before/after connecting ?

vnick
On Thu, Oct 12, 2017 at 1:55 PM, Jonathan Haché-Deschênes <[hidden email]> wrote:

It could be a lot of thing. In our case we would like to start a openvpn connexion before connecting & close vpn when session close.



That makes sense.  I do not know of any way to do this inside Guacamole itself.  I think there are some network-level things you can do in Linux, perhaps even with iptables, to automatically kick off a VPN session when certain IPs or hostname are requested, so that might be a route worth exploring.

-Nick