Skip to content

IsardVDI Security concerns

By default, IsardVDI in production mode opens specific container ports to the public network. These ports are required for operation and can be modified in isardvdi.cfg.

  • 80/TCP: Redirects HTTP to HTTPS, handles ACME challenges, proxies SPICE clients via the HTTP CONNECT method, and serves the RDP gateway (as TLS on this same port).
  • 443/TCP: Web secure port, HTML5 viewers port, and the SSH bastion (when enabled).
  • 443/UDP: Wireguard VPN for client users.
  • 4443/UDP: Wireguard VPN for infrastructure hypervisors. This port does not need to be open in an all-in-one setup.

The specific containers that open these ports, and how they change on non-web flavours, are covered in Ports and NAT. In short: HTTP_PORT and HTTPS_PORT define the ports the web host binds, while VIEWER_SPICE and VIEWER_BROWSER are the ports announced to viewer clients (and, on video-only flavours, also the bound ports).

NAME                        SERVICE                     PORTS
isard-api                   isard-api
isard-authentication        isard-authentication
isard-core_worker           isard-core_worker
isard-db                    isard-db
isard-engine                isard-engine
isard-grafana               isard-grafana
isard-grafana-agent         isard-grafana-agent
isard-guac                  isard-guac
isard-hypervisor            isard-hypervisor
isard-loki                  isard-loki
isard-portal                isard-portal                0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp,
isard-prometheus            isard-prometheus
isard-redis                 isard-redis
isard-scheduler             isard-scheduler
isard-squid                 isard-squid
isard-static                isard-static
isard-stats-cadvisor        isard-stats-cadvisor
isard-stats-go              isard-stats-go
isard-stats-node-exporter   isard-stats-node-exporter
isard-stats-rethinkdb       isard-stats-rethinkdb
isard-storage               isard-storage
isard-vpn                   isard-vpn                   0.0.0.0:443->443/udp, 0.0.0.0:4443->4443/udp,
isard-webapp                isard-webapp
isard-websockify            isard-websockify

To apply base security measures and configure complex infrastructure setups, example scripts for Debian 10 are available in the sysadm folder:

  1. debian_docker.sh: This is not a security script. It is the first step you should take: install Docker and Docker Compose. Refer to the documentation for other installation sample scripts, or consult the latest documentation for your distribution at https://docs.docker.com/engine/install/.
  2. debian_firewall.sh: This is a sample script to install and configure fail2ban and manage ports in firewalld, instead of letting the default Docker configuration open the ports.