Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


SOLVED Configuring remote connections (not working)


  • Hi,
    Thanks for this app. It looks useful. However, I am having trouble adding remote desktops.

    I configure Guacamole to connect to a remote desktop via a FQDN name under "Parameters/Network". Here, I insert a (valid) domain name, the correct port, a user name and password, and then I enable a few connection specific settings (ie, Display properties).

    I then go "home" and try to connect the server. I get an error message. When I go to "settings/history", I see that Guacamole has attempted to connect to the IP 172.18.0.1, despite me using a domain name that points to a different IP. Further, when I attempt to insert the RDP server's direct IP, Guacamole still attempts to connect to 172.18.0.1.

    Is there something wrong with my Cloudron, the Guacamole app, or my configuration? Any help is appreciated.

    ps. I use the Bitwarden_rs app. Whenever I connect a new client, I get an email stating that a new client with IP 127.0.0.1 has logged into Bitwarden (not the real IP of the connection). Could this be related?

    Thanks!

  • Staff

    @odie said in Configuring remote connections (not working):

    ps. I use the Bitwarden_rs app. Whenever I connect a new client, I get an email stating that a new client with IP 127.0.0.1 has logged into Bitwarden (not the real IP of the connection). Could this be related?

    This one is just a logging issue. It's present in many of our apps (that we fix as we find them). It happens because the apps receive the connection via a reverse proxy (nginx) and they log the reverse proxy IP instead of the actual connection IP.


  • @girish thank you very much! Sounds reasonable.

    Any clue as to why the Guacamole app apparently only attempts to connect to the 172-address?

  • Staff

    @odie I tried now and cannot get RDP to work. I can see that a connection is made to the remote server but the connection drops immediately. Still debugging, will keep you updated.

    As for the logs, it seems guacamole is showing the history with the wrong IP. I just noticed https://guacamole.apache.org/doc/gug/proxying-guacamole.html which explains how to set this up properly. I will fix the package. This still won't fix the RDP connection, I suspect.


  • @girish thank you very much for checking in on this issue. Good to know I am not the only one struggling with RDP. I am looking forward to seeing this app work with RDP, keeping my fingers crossed it will come in the not too distant future.

  • Staff

    Great success 🙂

    0bae4dd8-93fb-4399-ab30-c2eef792aff7-image.png

    Only IE can show a warning for a "secure connection"

  • Staff

    @odie I have pushed a new release now that should fix it. You might want to skip the certificate verification like in https://docs.cloudron.io/apps/guacamole/


  • Seems to be working now, thanks a lot! RDP connects just fine, it seems.

    Am I right in assuming that I cannot delegate connection rights to LDAP users from the admin user?

  • Staff

    @odie Good catch! This was an oversight on my part. I have pushed an update to fix this.