Kasm Workspaces - Container Streaming Platform

Kali

If you'd like, you can run the container as root so that you can use more of the kali tools. Log into the UI as an admin. Select Images. Click Edit next to Kali. Scroll down to Docker Run Config Override and enter the following

{"user":"root"}

haproxy

Kasm should work fine behind haproxy. Below is a config snippet we test with. Once Kasm is placed behind a revere proxy it's important to update your Zone settings so its aware you may be accessing the server from a different address and port.

https://kasmweb.com/docs/latest/how_to/reverse_proxy.html#update-zones

frontend localhost
   bind *:4443 ssl crt /tmp/all.pem
   redirect scheme https if !{ ssl_fc }
   mode http
   default_backend node

backend kasm
    mode http
    option forwardfor
    server kasm kasm.server.local:443 check ssl verify none
    http-request set-header X-Forwarded-Port %[dst_port]
    http-request add-header X-Forwarded-Proto https if { ssl_fc }

Sharing

I'm not aware of a bug in sharing. Once you get your haproxy issue sorted out please re-test and let me know if there is an issue

/r/selfhosted Thread Parent