My boring Blog

Mauro Frigerio blog

Install Guacamole on Docker with Traefik, Postgres and 2FA

21-01-2023 3 min read article
Note I finally found how to get Wake on LAN working from Guacamole in docker, check out this guide. Note If you want to install Guacamole with mySQL database check out this guide. Remotely accessing an SSH terminal or graphics session with VNC/RDP can be very useful. Particularly if you have a lot of devices and if you regularly change your workstation. Guacamole is one of the open source solutions on the market. Continue reading

Create your own online office with Nextcloud

23-09-2022 5 min read article
TL;DR Nextcloud is the opensource solution that allows you to turn many devices into your own online storage solution (like Dropbox). But not only that because thanks to many apps you can expand functionality and create your own online office solution, such as Microsoft’s Office 365 or Google’s Drive. In this quick guide I have attempted to describe the steps to obtain a basic instance of Nextcloud and take advantage of ONLYOFFICE to be able to edit documents online. Continue reading

Activate HTTP/3 in traefik

28-07-2022 2 min read article
Do you want to make your site accessible faster? Then you need to try the new version of the HTTP protocol or rather its version number 3 or also called HTTP/3. the most common browsers already support this protocol and many already take advantage of it without realizing they are using it. According to a report by Cloudflare 30% of Internet traffic already exploits this capability. What is new is the change of protocol for the transport layer from TCP to UDP (differences and the integration of TLS. Continue reading

Wake-on-LAN from Guacamole in docker

24-07-2022 3 min read article
The Guacamole service allows a “Wake on LAN” (WOL) packet to be launched before connecting to the machine with VNC or RDP. Unfortunately, by Docker’s default setting, networks configured as bridge do not allow broadcast packets (even if directed to a specific subnet) to be sent out. This prevents the use of WOL and Guacamole. There remains the option of configuring the guacd container on the host network, but this solution has security issues. Continue reading

Cloudflare origin certificates in Traefik

23-07-2022 3 min read article
Using Cloudflare as a DNS provider for your domains, you can take advantage of its SSL certificates to secure your websites. So you don’t have to struggle with Traefik and Let’s Encrypt to generate your own certificates. This guide is also useful if you use the free domains described in this post, because Cloudflare blocks the creation of certificates via Let’s Encrypt. Concept Cloudflare creates a dedicated certificate that allows the server to communicate only with Cloudflare’s servers. Continue reading

Multiple domains for the same container with Traefik

23-07-2022 1 min read article
This example shows how you can configure several domains to access the same docker container by using Traefik. In this example I want to connect the domains whoami.example.com and whoami.traefik-examples.tk to the same docker container. All necessary files are available on GitHub. Requirements Two domain names that both point to the Traefik instance (in this example I use example.com and traefik-examples.tk) For both domains the SSL certificate is generated by Let’s Encrypt Traefik is already working (see basic example) Steps Aggiungere o modificare il docker-compose dei container interessati whoami: image: containous/whoami container_name: whoami labels: - 'traefik. Continue reading

Secondary home management experience with Home Assistant

22-07-2022 4 min read article
TL;DR Taking advantage of the unofficial integration I connect two instances of Home Assistant to each other. Thanks to the Wireguard addons I am able to avoid the fact that the 4G modem does not have a public IP address. Intro Due to the 2G shutdown in Switzerland, I had to change the heating management system of the second house in the mountains. After some attempts for more than a year a working and resilient solution has been in operation. Continue reading
Older posts