In this article we are going install Let’s Encrypt SSL certificates on a Synology NAS, but with a twist! The certificates are actually issued by pfSense, which is in the edge of our Internet setup, and then reused by Synology NAS too. Configure pfSense In short, you have to use pfSense to issue a certificate…
Configuring pfSense authentication through Synology LDAP server
In this article I’m going to show how to authenticate users on your pfSense using LDAP server powered by Synology DSM. The steps will include SSL encryption based on Let’s Encrypt certificates. You need to issue Let’s Encrypt SSL certificates, configure SSL certificates on your pfSense, and finally configure SSL certificates on your Synology that…
Install Let’s Encrypt SSL certificates on your UDM-Pro from pfSense crontab
As you may have noticed, your UDM Pro came with a self-signed certificate, which browsers don’t like much and neither do I. In this article, we are going to install Let’s Encrypt SSL certificates using crontab from a pfSense device. You can replace pfSense with any other device with crontab available. Unifi OS doesn’t provide…
Daisy chaining pfSense + UDM Pro to work together
Unifi Dream Machine Pro (aka UDM Pro) is a nice appliance for acting as Unifi controller for your Access points (APs), while it also offers a 8-port managed switch using low power, noise and heat. It is an average router, and a lousy security appliance (hopefully they will improve a lot in this area). This…
Generating SSH pair key
For future posts, you will need to have at least one pair of public/private SSH keys installed on your devices for no password access to them. To do so, simply run ssh-keygen -t rsa -b 4096 to generate a 4096 bits RSA key. You will be asked to confirm the key name. Accept the default…
Enabling SSH on your pfSense
For future posts, we will need to have SSH enabled on the pfSense device, so let’s get this out of the way. Configuring SSH user I highly recommend not to use admin user for accessing pfSense through SSH. If you do it, you will face several constrains which will probably cost you hours to go…
Enabling SSH on your Synology DSM
For future posts, we will need to have SSH enabled on the Synology NAS, so let’s get this out of the way. Although you can use admin user to connect to Synology DSM, you can create a new user for this purpose. Go to Control Panel >> User and click the Create button, fill in…
Enabling SSH on your UDM-Pro
For future posts, we will need to have SSH enabled on the Unifi devices, including the Dream Machine Pro, so let’s get this out of the way. Allow SSH access onto UDM-pro Go to your UDM-Pro page (eg. 192.168.1.1). As usual, you will have to use your Unifi account credentials to login on the UDM-Pro….
Setting up Let’s Encrypt SSL certificates on your pfSense
In a previous post, I have described how to issue Let’s Encrypt certificates for free. SSL certificates have many applications, including replacing self-signed certificates that are not recognized by browsers. That is the goal of this post. Replace pfSense’s self-signed certificate by the one we have created using Let’s Encrypt API. Let’s Encrypt setup If…
Setting up CloudFlare DDNS on pfSense
In a previous post, we have been through the steps to setup DuckDNS DDNS on your pfSense. However, if you are using CloudFlare as your DNS provider, it makes sense to configure it to also provide a Dynamic DNS for your domain. It is worth remembering that CloudFlare has a free version to manage your…










