You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Jonathan Haché-Deschênes <JH...@infoplus.ca> on 2017/10/12 17:19:30 UTC

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

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]<http://www.infoplus.ca/>
________________________________
1240 Boul. St-Joseph, Drummondville, Qc  Canada,   J2C 2E1
Tel. : 819-478-0994    Fax. : 819-478-7619    http://www.infoplus.ca<http://www.infoplus.ca/>

Solutions informatiques                                   Notre savoir-faire au service
Communications unifiées                                de vos affaires !

P Avant d'imprimer, pensez à l'environnement<http://www.materre.ca/>
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.


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

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Oct 12, 2017 at 1:55 PM, Jonathan Haché-Deschênes <
JHache-Deschenes@infoplus.ca> 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

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

Posted by Jonathan Haché-Deschênes <JH...@infoplus.ca>.
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]<http://www.infoplus.ca/>
________________________________
1240 Boul. St-Joseph, Drummondville, Qc  Canada,   J2C 2E1
Tel. : 819-478-0994    Fax. : 819-478-7619    http://www.infoplus.ca<http://www.infoplus.ca/>

Solutions informatiques                                   Notre savoir-faire au service
Communications unifiées                                de vos affaires !

P Avant d'imprimer, pensez à l'environnement<http://www.materre.ca/>
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:vnick@apache.org]
Envoyé : 12 octobre 2017 13:53
À : user@guacamole.incubator.apache.org
Objet : Re: execute script on “guacamole server” before/after connecting ?



2017-10-12 13:19 GMT-04:00 Jonathan Haché-Deschênes <JH...@infoplus.ca>>:
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

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

Posted by Nick Couchman <vn...@apache.org>.
2017-10-12 13:19 GMT-04:00 Jonathan Haché-Deschênes <
JHache-Deschenes@infoplus.ca>:

> 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