Access your Kali Linux by using your web browser with Apache Guacamole at Docker.

I have been using Apache Guacamole since few months and I found it's so light and faster than any others remote desktop connection app like RDP, VNC, AnyDesk etc.

And if your Linux or Kali Linux server is hosted on the cloud server than it is a game changer as far my experience.

Because I tried many ways to connect my Kali Linux hosted on Oracle Cloud Infrastructure server and my experience is so satisfied.

So let's start how you can use Apache Guacamole for yours. 


Browse your Portainer Server by using your https://localhost:9443 or your public IP and click stack from left side and add a new stack.

Give a name of your new stack, I give guacamole.
Copy the script and paste it on the web editor:
version: "3"
services:
  guacamole:
    image: flcontainers/guacamole
    container_name: guacamole
    environment:
      TZ: 'UTC'
      EXTENSIONS: 'auth-totp,auth-ldap'
    volumes:
      - postgres:/config
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 8080:8080
volumes:
  postgres:
    driver: local 

Go down and find Actions and click Deploy the stack.


And wait until you see confirmation message on the top right corner of your screen.


Now open a new tab on your browser and type - 
http://localhost:8080 or your http://your-ip:8080

Use default user - guacadmin and default password guacadmin


For security you need to use a authentication app, to do that download any authenticator app your mobile phone and scan the above code to authenticate. I am using Microsoft Authenticator. 

Now go to settings from the top right corner and click connections and click new connection. We will connect our Kali Linux with XRDP and you must have XRDP remote connection settings to installed on your Kali Linux machine. If you don't know how to connect or install Kali Linux (GUI), please finish and come back here.


Give your connection a name, select RDP as Protocol type your Loalhost IP or Public IP at Hostname add 3389 as Port on the Network section and username and password at Authentication under Parameters and go down and click save.



If everything goes well and you put everything properly than you will see your Kali Linux desktop screen.


Hooray! But if anything wrong please don't panic leave a comment. 

I will never let you stuck!

Comments